Skip to content

Commit

Permalink
build: improve warning messages when boost was not found
Browse files Browse the repository at this point in the history
  • Loading branch information
aristidb committed May 9, 2009
1 parent 0fe9db4 commit b7fc71f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Expand Up @@ -110,13 +110,13 @@ FIND_PACKAGE(Boost 1.36.0 COMPONENTS
IF(Boost_INCLUDE_DIR)
INCLUDE_DIRECTORIES(${Boost_INCLUDE_DIR})
ELSE()
MESSAGE(FATAL_ERROR "Boost headers not found. You will have to specify them in your build environment or you can use -DBOOST_ROOT= or -DBoost_INCLUDE_DIR to tell cmake where your boost installation is.")
MESSAGE(FATAL_ERROR "Boost headers not found. You will have to specify them in your build environment or you can use -DBOOST_ROOT or -DBOOST_INCLUDE_DIR to tell cmake where your boost installation is.")
ENDIF()

IF(Boost_LIBRARY_DIRS)
LINK_DIRECTORIES(${Boost_LIBRARY_DIRS})
ELSE()
MESSAGE(FATAL_ERROR "Boost libraries not found. Please set -DBoost_LIBRARY_DIR manually.")
MESSAGE(FATAL_ERROR "Boost libraries not found. Please set -DBOOST_ROOT or -DBOOST_LIBRARY_DIR manually.")
ENDIF()

IF(NOT Boost_FOUND)
Expand Down

0 comments on commit b7fc71f

Please sign in to comment.