1
0
Fork 0

Definitely disable using system boost if version doesn't match

This commit is contained in:
Hamish Milne 2019-12-28 23:36:12 +00:00 committed by zhupengfei
parent d041901a30
commit a0ac302a93
1 changed files with 1 additions and 1 deletions

View File

@ -132,7 +132,7 @@ if (NOT Boost_FOUND)
set(BOOST_ROOT "${PROJECT_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 )
find_package(Boost QUIET REQUIRED)