Changes forgotten in the previous commit – the code was moved out to the top-level CMakeLists.txt.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@803 67173fc5-114c-0410-ac8e-9d2fd5bffc1fpull/1/head
parent
b0196db29f
commit
9cc61781d0
|
@ -1,25 +1,6 @@
|
|||
SET( LIBRARY_VERSION "1.0.0" )
|
||||
SET( LIBRARY_SOVERSION "1" )
|
||||
|
||||
IF ( ENABLE_BOOST_WORKAROUND )
|
||||
INCLUDE_DIRECTORIES( BoostWorkaround )
|
||||
ADD_DEFINITIONS( -DASSIMP_BUILD_BOOST_WORKAROUND )
|
||||
MESSAGE( STATUS "Building a non-boost version of Assimp." )
|
||||
ELSE ( ENABLE_BOOST_WORKAROUND )
|
||||
FIND_PACKAGE( Boost 1.35 )
|
||||
|
||||
IF ( NOT Boost_FOUND )
|
||||
MESSAGE( FATAL_ERROR
|
||||
"Boost libraries (http://www.boost.org/) not found. "
|
||||
"You can build a non-boost version of Assimp with slightly reduced "
|
||||
"functionality by specifying -DENABLE_BOOST_WORKAROUND=ON."
|
||||
)
|
||||
ENDIF ( NOT Boost_FOUND )
|
||||
|
||||
INCLUDE_DIRECTORIES( ${Boost_INCLUDE_DIRS} )
|
||||
ENDIF ( ENABLE_BOOST_WORKAROUND )
|
||||
|
||||
|
||||
#
|
||||
# Listing and grouping of all the source files for use with IDE project
|
||||
# generators.
|
||||
|
|
Loading…
Reference in New Issue