1 --- persalys-14.1_ref/CMakeLists.txt 2023-07-25 11:23:39.000000000 +0200
2 +++ persalys-14.1_dev/CMakeLists.txt 2023-09-26 12:57:40.000000000 +0200
4 set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /bigobj")
7 +SET(BOOST_ROOT_DIR $ENV{BOOST_ROOT_DIR} CACHE PATH "Path to the Boost")
8 +if(EXISTS "${BOOST_ROOT_DIR}")
9 + set(BOOST_ROOT "${BOOST_ROOT_DIR}" CACHE PATH "Boost root directory" FORCE)
11 +set(Boost_USE_DEBUG_LIBS OFF) # ignore debug libs and
12 +set(Boost_USE_RELEASE_LIBS ON) # only find release libsfind_package (Boost COMPONENTS filesystem locale REQUIRED)
13 find_package (Boost COMPONENTS filesystem locale REQUIRED)
14 -list (APPEND PERSALYS_PRIVATE_LIBRARIES ${Boost_LIBRARIES})
16 +if (TARGET Boost::filesystem)
17 + set (Boost_LIBRARIES Boost::filesystem Boost::locale)
19 find_package (Python 3.5 COMPONENTS Interpreter Development REQUIRED)
20 list (APPEND PERSALYS_PUBLIC_LIBRARIES ${Python_LIBRARIES})