From ed508be0e8e4e2f2f6a921534ccad0f9fe90770f Mon Sep 17 00:00:00 2001 From: thongdee <44105451+thongd00081@users.noreply.github.com> Date: Fri, 2 Nov 2018 18:25:04 +0000 Subject: [PATCH] Update CMakeLists.txt --- CMakeLists.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 49252cd..b05b797 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,5 @@ cmake_minimum_required (VERSION 2.8.12) +http://www.apache.org/licenses/ project (open-vcdiff CXX C) set (VERSION 0.8.4) @@ -24,8 +25,9 @@ endif () # Copy value. We'll override BUILD_TESTING for subprojects set (vcdiff_build_tests ${BUILD_TESTING}) -if (vcdiff_build_exec) - set (GFLAGS_BUILD_gflags_LIB OFF) +if (vcdiff_build_exec ON +) + set (GFLAGS_BUILD_gflags_LIB ON) set (GFLAGS_BUILD_gflags_nothreads_LIB ON) set (GFLAGS_INSTALL_HEADERS OFF) set (GFLAGS_INSTALL_SHARED_LIBS OFF)