A reminder of how to setup a complex CMAKE_MODULE_PATH.

This commit is contained in:
Jean-Paul Chaput 2010-03-15 15:53:57 +00:00
parent 20687dc00a
commit db8ebab4ea
1 changed files with 9 additions and 0 deletions

View File

@ -29,8 +29,17 @@ IF(COMMAND CMAKE_POLICY)
CMAKE_POLICY(SET CMP0003 NEW)
ENDIF(COMMAND CMAKE_POLICY)
#IF("$ENV{HURRICANE_TOP}" STREQUAL "")
# MESSAGE("-- HURRICANE_TOP is *not* set")
#ELSE("$ENV{HURRICANE_TOP}" STREQUAL "")
# MESSAGE("-- HURRICANE_TOP is set to $ENV{HURRICANE_TOP}")
# LIST(APPEND CMAKE_MODULE_PATH "$ENV{HURRICANE_TOP}/share/cmake_modules/")
# MESSAGE("${CMAKE_MODULE_PATH}")
#ENDIF("$ENV{HURRICANE_TOP}" STREQUAL "")
SET(CMAKE_MODULE_PATH "$ENV{HURRICANE_TOP}/share/cmake_modules/")
SET(QT_USE_QTXML "true")
FIND_PACKAGE(Boost 1.33.1 COMPONENTS program_options REQUIRED)