Requiring only Boost 1.54, not 1.58

Easier to install on older Linux systems
This commit is contained in:
Daniel Wolf 2016-09-08 20:35:15 +02:00
parent e81c9da999
commit 6d321d2428
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ set_property(GLOBAL PROPERTY USE_FOLDERS ON)
set(Boost_USE_STATIC_LIBS ON) # Use static libs set(Boost_USE_STATIC_LIBS ON) # Use static libs
set(Boost_USE_MULTITHREADED ON) # Enable multithreading support set(Boost_USE_MULTITHREADED ON) # Enable multithreading support
set(Boost_USE_STATIC_RUNTIME ON) # Use static C++ runtime set(Boost_USE_STATIC_RUNTIME ON) # Use static C++ runtime
find_package(Boost 1.58 REQUIRED COMPONENTS filesystem locale system) find_package(Boost 1.54 REQUIRED COMPONENTS filesystem locale system)
include_directories(SYSTEM ${Boost_INCLUDE_DIRS}) include_directories(SYSTEM ${Boost_INCLUDE_DIRS})
# ... C++ Format # ... C++ Format