diff options
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r-- | src/CMakeLists.txt | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index d4ee49d..92c4ca3 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.5) +cmake_minimum_required(VERSION 2.8) project(OnlineDetectorSimulator) #define some speciel output paths for libraries and executables @@ -11,13 +11,16 @@ set(CMAKE_CXX_STANDARD 11) set(CMAKE_CXX_STANDARD_REQUIRED ON) set(Boost_USE_MULTITHREADED ON) -SET(BOOST_MIN_VERSION "1.58.0") -add_definitions(-DBOOST_LOG_DYN_LINK=1) +SET(BOOST_MIN_VERSION "1.53.0") + +add_definitions(-std=c++11) #find required packages find_package(LibConfig REQUIRED) -find_package(Boost ${BOOST_MIN_VERSION} REQUIRED COMPONENTS log filesystem) +find_package(Boost ${BOOST_MIN_VERSION} REQUIRED COMPONENTS filesystem) find_package(OpenMP) +set(LIBVMA_INCLUDE_DIR "/mnt/ands/include") + #add openmp if(OPENMP_FOUND) @@ -29,6 +32,7 @@ endif() include_directories( ${LIBCONFIGPP_INCLUDE_DIR} ${BOOST_INCLUDE_DIRS} + ${LIBVMA_INCLUDE_DIR} ) set(LINK_LIBRARIES ${LINK_LIBRARIES} |