mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2024-11-01 16:05:07 +01:00
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)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user