1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-10 10:33:29 -05:00
sdrangel/cmake/Modules/FindLimeSuite.cmake

35 lines
887 B
CMake
Raw Normal View History

2017-04-10 17:57:15 -04:00
# Find Lime Suite
if (NOT LIMESUITE_INCLUDE_DIR)
2017-05-08 12:30:52 -04:00
FIND_PATH (LIMESUITE_INCLUDE_DIR
NAMES lime/LimeSuite.h
PATHS
/usr/include
/usr/local/include
)
endif()
if (NOT LIMESUITE_LIBRARY)
2017-05-08 12:30:52 -04: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 17:57:15 -04: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 16:26:42 -04:00
MESSAGE (STATUS "Found Lime Suite: ${LIMESUITE_INCLUDE_DIR}, ${LIMESUITE_LIBRARY}")
2017-04-10 17:57:15 -04:00
ELSE (LIMESUITE_FOUND)
2017-04-11 16:26:42 -04:00
MESSAGE (STATUS "Could not find Lime Suite")
2017-04-10 17:57:15 -04:00
ENDIF (LIMESUITE_FOUND)
mark_as_advanced(LIMESUITE_INCLUDE_DIR LIMESUITE_LIBRARY)