Definitely disable using system boost if version doesn't match
This commit is contained in:
parent
d041901a30
commit
a0ac302a93
|
@ -132,7 +132,7 @@ if (NOT Boost_FOUND)
|
||||||
|
|
||||||
set(BOOST_ROOT "${PROJECT_SOURCE_DIR}/externals/boost")
|
set(BOOST_ROOT "${PROJECT_SOURCE_DIR}/externals/boost")
|
||||||
set(Boost_INCLUDE_DIR "${CMAKE_SOURCE_DIR}/externals/boost")
|
set(Boost_INCLUDE_DIR "${CMAKE_SOURCE_DIR}/externals/boost")
|
||||||
set(Boost_NO_SYSTEM_PATHS OFF)
|
set(Boost_NO_SYSTEM_PATHS ON)
|
||||||
add_definitions( -DBOOST_ALL_NO_LIB )
|
add_definitions( -DBOOST_ALL_NO_LIB )
|
||||||
find_package(Boost QUIET REQUIRED)
|
find_package(Boost QUIET REQUIRED)
|
||||||
|
|
||||||
|
|
Reference in New Issue