From 76635c2bef0bb51394e703bb22cc7286efc6b4c5 Mon Sep 17 00:00:00 2001 From: gcontini <1121667+gcontini@users.noreply.github.com> Date: 周日, 01 9月 2019 14:47:33 +0800 Subject: [PATCH] removed old boost version made boost required --- CMakeLists.txt | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 904dc52..b5f851a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -68,7 +68,7 @@ endif(CMAKE_SIZEOF_VOID_P EQUAL 8) set( Boost_USE_STATIC_LIBS ON ) -find_package(Boost 1.55.0 COMPONENTS date_time unit_test_framework program_options system filesystem) +find_package(Boost REQUIRED COMPONENTS date_time unit_test_framework program_options system filesystem) #set below in case of dynamic linking in debug. #set_property(DIRECTORY APPEND PROPERTY COMPILE_DEFINITIONS $<$<CONFIG:Debug>:BOOST_TEST_DYN_LINK>) add_definitions(-DBOOST_ALL_NO_LIB) #Disable Boost Microsoft magic, all dependencies are handled by cmake -- Gitblit v1.9.1