2017-04-10 17:57:15 -04:00
|
|
|
# Find Lime Suite
|
|
|
|
|
2017-05-08 21:23:51 -04:00
|
|
|
if (NOT LIMESUITE_INCLUDE_DIR)
|
2019-01-02 15:33:45 -05:00
|
|
|
find_path (LIMESUITE_INCLUDE_DIR
|
2017-05-08 12:30:52 -04:00
|
|
|
NAMES lime/LimeSuite.h
|
2019-07-25 20:04:42 -04:00
|
|
|
HINTS ${LIMESUITE_DIR}/include
|
|
|
|
PATHS /usr/include
|
2019-01-02 15:33:45 -05:00
|
|
|
/usr/local/include
|
2017-05-08 12:30:52 -04:00
|
|
|
)
|
|
|
|
endif()
|
2017-05-08 05:05:15 -04:00
|
|
|
|
2017-05-08 21:23:51 -04:00
|
|
|
if (NOT LIMESUITE_LIBRARY)
|
2019-01-02 15:33:45 -05:00
|
|
|
find_library (LIMESUITE_LIBRARY
|
2017-05-08 12:30:52 -04:00
|
|
|
NAMES LimeSuite
|
2019-07-25 20:04:42 -04:00
|
|
|
HINTS ${LIMESUITE_DIR}/lib
|
|
|
|
${CMAKE_INSTALL_PREFIX}/lib
|
2017-05-08 12:30:52 -04:00
|
|
|
${CMAKE_INSTALL_PREFIX}/lib64
|
2019-07-25 20:04:42 -04:00
|
|
|
PATHS /usr/local/lib
|
2017-05-08 12:30:52 -04:00
|
|
|
/usr/local/lib64
|
|
|
|
/usr/lib
|
|
|
|
/usr/lib64
|
|
|
|
)
|
|
|
|
endif()
|
2017-04-10 17:57:15 -04:00
|
|
|
|
2019-01-02 15:33:45 -05:00
|
|
|
if (LIMESUITE_INCLUDE_DIR AND LIMESUITE_LIBRARY)
|
|
|
|
set(LIMESUITE_FOUND TRUE)
|
|
|
|
endif (LIMESUITE_INCLUDE_DIR AND LIMESUITE_LIBRARY)
|
2017-04-10 17:57:15 -04:00
|
|
|
|
2019-01-02 15:33:45 -05:00
|
|
|
if (LIMESUITE_FOUND)
|
|
|
|
message (STATUS "Found Lime Suite: ${LIMESUITE_INCLUDE_DIR}, ${LIMESUITE_LIBRARY}")
|
|
|
|
else (LIMESUITE_FOUND)
|
|
|
|
message (STATUS "Could not find Lime Suite")
|
|
|
|
endif (LIMESUITE_FOUND)
|
2017-04-10 17:57:15 -04:00
|
|
|
|
|
|
|
mark_as_advanced(LIMESUITE_INCLUDE_DIR LIMESUITE_LIBRARY)
|