CMake: Show a helpful error message with CMake 2.8+ if Boost has not been found.

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@819 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
pull/1/head
klickverbot 2010-09-27 08:30:37 +00:00
parent d4f563c795
commit c1430e1573
1 changed files with 1 additions and 0 deletions

View File

@ -32,6 +32,7 @@ IF ( ENABLE_BOOST_WORKAROUND )
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 )
SET( Boost_DETAILED_FAILURE_MSG ON )
FIND_PACKAGE( Boost 1.35 ) FIND_PACKAGE( Boost 1.35 )
IF ( NOT Boost_FOUND ) IF ( NOT Boost_FOUND )