From c1430e1573f6bb22450f4c6871e06f5c4aa9569c Mon Sep 17 00:00:00 2001 From: klickverbot Date: Mon, 27 Sep 2010 08:30:37 +0000 Subject: [PATCH] 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 --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 1ca633d74..02e142e79 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -32,6 +32,7 @@ IF ( ENABLE_BOOST_WORKAROUND ) ADD_DEFINITIONS( -DASSIMP_BUILD_BOOST_WORKAROUND ) MESSAGE( STATUS "Building a non-boost version of Assimp." ) ELSE ( ENABLE_BOOST_WORKAROUND ) + SET( Boost_DETAILED_FAILURE_MSG ON ) FIND_PACKAGE( Boost 1.35 ) IF ( NOT Boost_FOUND )