A reminder of how to setup a complex CMAKE_MODULE_PATH.
This commit is contained in:
parent
20687dc00a
commit
db8ebab4ea
|
@ -29,8 +29,17 @@ IF(COMMAND CMAKE_POLICY)
|
||||||
CMAKE_POLICY(SET CMP0003 NEW)
|
CMAKE_POLICY(SET CMP0003 NEW)
|
||||||
ENDIF(COMMAND CMAKE_POLICY)
|
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(CMAKE_MODULE_PATH "$ENV{HURRICANE_TOP}/share/cmake_modules/")
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
SET(QT_USE_QTXML "true")
|
SET(QT_USE_QTXML "true")
|
||||||
|
|
||||||
FIND_PACKAGE(Boost 1.33.1 COMPONENTS program_options REQUIRED)
|
FIND_PACKAGE(Boost 1.33.1 COMPONENTS program_options REQUIRED)
|
||||||
|
|
Loading…
Reference in New Issue