2017-04-10 21:57:15 +00:00
|
|
|
# Find Lime Suite
|
|
|
|
|
2017-05-09 01:23:51 +00:00
|
|
|
if (NOT LIMESUITE_INCLUDE_DIR)
|
2017-05-08 16:30:52 +00:00
|
|
|
FIND_PATH (LIMESUITE_INCLUDE_DIR
|
|
|
|
NAMES lime/LimeSuite.h
|
|
|
|
PATHS
|
|
|
|
/usr/include
|
|
|
|
/usr/local/include
|
|
|
|
)
|
|
|
|
endif()
|
2017-05-08 09:05:15 +00:00
|
|
|
|
2017-05-09 01:23:51 +00:00
|
|
|
if (NOT LIMESUITE_LIBRARY)
|
2017-05-08 16:30:52 +00:00
|
|
|
FIND_LIBRARY (LIMESUITE_LIBRARY
|
|
|
|
NAMES LimeSuite
|
|
|
|
HINTS ${CMAKE_INSTALL_PREFIX}/lib
|
|
|
|
${CMAKE_INSTALL_PREFIX}/lib64
|
|
|
|
PATHS /usr/local/lib
|
|
|
|
/usr/local/lib64
|
|
|
|
/usr/lib
|
|
|
|
/usr/lib64
|
|
|
|
)
|
|
|
|
endif()
|
2017-04-10 21:57:15 +00:00
|
|
|
|
|
|
|
IF (LIMESUITE_INCLUDE_DIR AND LIMESUITE_LIBRARY)
|
|
|
|
SET(LIMESUITE_FOUND TRUE)
|
|
|
|
ENDIF (LIMESUITE_INCLUDE_DIR AND LIMESUITE_LIBRARY)
|
|
|
|
|
|
|
|
IF (LIMESUITE_FOUND)
|
2017-04-11 20:26:42 +00:00
|
|
|
MESSAGE (STATUS "Found Lime Suite: ${LIMESUITE_INCLUDE_DIR}, ${LIMESUITE_LIBRARY}")
|
2017-04-10 21:57:15 +00:00
|
|
|
ELSE (LIMESUITE_FOUND)
|
2017-04-11 20:26:42 +00:00
|
|
|
MESSAGE (STATUS "Could not find Lime Suite")
|
2017-04-10 21:57:15 +00:00
|
|
|
ENDIF (LIMESUITE_FOUND)
|
|
|
|
|
|
|
|
mark_as_advanced(LIMESUITE_INCLUDE_DIR LIMESUITE_LIBRARY)
|