CMakeLists.txt 520 Bytes
Newer Older
Sylvain Thery's avatar
Sylvain Thery committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
cmake_minimum_required( VERSION 2.6 )
PROJECT( Assimp )
SET ( PROJECT_VERSION "2.0" )
INCLUDE_DIRECTORIES( include )

SET( Boost_DETAILED_FAILURE_MSG ON )
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} )

ADD_SUBDIRECTORY( code/ )