CMake: Fixed building with Boost workaround.
The path to the include directory had not been updated when the snippet was moved into the top-level CMakeLists.txt. git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@820 67173fc5-114c-0410-ac8e-9d2fd5bffc1fpull/1/head
parent
c1430e1573
commit
315649313e
|
@ -27,8 +27,11 @@ INSTALL( FILES "${CMAKE_BINARY_DIR}/assimp.pc" DESTINATION ${LIB_INSTALL_DIR}/pk
|
||||||
|
|
||||||
# Globally enbale Boost resp. the Boost workaround – it is also needed by the
|
# Globally enbale Boost resp. the Boost workaround – it is also needed by the
|
||||||
# tools which include the Assimp headers.
|
# tools which include the Assimp headers.
|
||||||
|
SET ( ENABLE_BOOST_WORKAROUND OFF CACHE BOOL
|
||||||
|
"If a simple implementation of the used Boost functions is used. Slightly reduces functionality, but enables builds without Boost available."
|
||||||
|
)
|
||||||
IF ( ENABLE_BOOST_WORKAROUND )
|
IF ( ENABLE_BOOST_WORKAROUND )
|
||||||
INCLUDE_DIRECTORIES( BoostWorkaround )
|
INCLUDE_DIRECTORIES( code/BoostWorkaround )
|
||||||
ADD_DEFINITIONS( -DASSIMP_BUILD_BOOST_WORKAROUND )
|
ADD_DEFINITIONS( -DASSIMP_BUILD_BOOST_WORKAROUND )
|
||||||
MESSAGE( STATUS "Building a non-boost version of Assimp." )
|
MESSAGE( STATUS "Building a non-boost version of Assimp." )
|
||||||
ELSE ( ENABLE_BOOST_WORKAROUND )
|
ELSE ( ENABLE_BOOST_WORKAROUND )
|
||||||
|
|
Loading…
Reference in New Issue