export cmake macros
This commit is contained in:
parent
bf59d5b2c4
commit
9e9ad197d5
|
@ -1 +1,2 @@
|
|||
install(FILES FindHURRICANE.cmake DESTINATION /share/cmake_modules)
|
||||
install(FILES FindHURRICANE.cmake FindBISON.cmake FindFLEX.cmake
|
||||
DESTINATION /share/cmake_modules)
|
||||
|
|
|
@ -37,22 +37,6 @@ IF(UNIX)
|
|||
DOC "The ${HURRICANE_INCLUDE_PATH_DESCRIPTION}"
|
||||
)
|
||||
|
||||
FIND_PATH(HURRICANE_ANALOGIC_INCLUDE_PATH NAMES RdsUnit.h PATHS
|
||||
# Look in other places.
|
||||
${HURRICANE_DIR_SEARCH}
|
||||
PATH_SUFFIXES include/hurricane
|
||||
# Help the user find it if we cannot.
|
||||
DOC "The ${HURRICANE_INCLUDE_PATH_DESCRIPTION}"
|
||||
)
|
||||
|
||||
FIND_LIBRARY(HURRICANE_ANALOGIC_LIBRARY_PATH
|
||||
NAMES analogic
|
||||
PATHS ${HURRICANE_DIR_SEARCH}
|
||||
PATH_SUFFIXES lib
|
||||
# Help the user find it if we cannot.
|
||||
DOC "The ${HURRICANE_INCLUDE_PATH_DESCRIPTION}"
|
||||
)
|
||||
|
||||
FIND_PATH(HURRICANE_VIEWER_INCLUDE_PATH
|
||||
NAMES CellViewer.h
|
||||
PATHS ${HURRICANE_DIR_SEARCH}
|
||||
|
@ -91,19 +75,13 @@ IF(UNIX)
|
|||
|
||||
IF(HURRICANE_INCLUDE_PATH)
|
||||
IF(HURRICANE_LIBRARY_PATH)
|
||||
IF(HURRICANE_ANALOGIC_INCLUDE_PATH)
|
||||
IF(HURRICANE_ANALOGIC_LIBRARY_PATH)
|
||||
SET(HURRICANE_FOUND "YES")
|
||||
SET(HURRICANE_INCLUDE_DIR
|
||||
${HURRICANE_INCLUDE_PATH}
|
||||
${HURRICANE_ANALOGIC_INCLUDE_PATH}
|
||||
)
|
||||
SET(HURRICANE_LIBRARIES
|
||||
${HURRICANE_LIBRARY_PATH}
|
||||
${HURRICANE_ANALOGIC_LIBRARY_PATH}
|
||||
)
|
||||
ENDIF(HURRICANE_ANALOGIC_LIBRARY_PATH)
|
||||
ENDIF(HURRICANE_ANALOGIC_INCLUDE_PATH)
|
||||
ENDIF(HURRICANE_LIBRARY_PATH)
|
||||
ENDIF(HURRICANE_INCLUDE_PATH)
|
||||
|
||||
|
@ -138,8 +116,6 @@ IF(UNIX)
|
|||
MARK_AS_ADVANCED(
|
||||
HURRICANE_INCLUDE_PATH
|
||||
HURRICANE_LIBRARY_PATH
|
||||
HURRICANE_ANALOGIC_INCLUDE_PATH
|
||||
HURRICANE_ANALOGIC_LIBRARY_PATH
|
||||
HURRICANE_GRAPHICAL_INCLUDE_PATH
|
||||
HURRICANE_GRAPHICAL_LIBRARY_PATH
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue