mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-12-23 01:55:48 -05:00
Fixed cmake module files to search lib64 libraries (as suggested by Martin for OpenSUSE build)
This commit is contained in:
parent
6fb6e35607
commit
7b00c47a71
@ -19,7 +19,9 @@ FIND_LIBRARY(CM256_LIBRARIES
|
||||
PATHS
|
||||
${CM256_INCLUDE_DIR}/../lib
|
||||
/usr/local/lib
|
||||
/usr/local/lib64
|
||||
/usr/lib
|
||||
/usr/lib64
|
||||
)
|
||||
|
||||
if(CM256_INCLUDE_DIR AND CM256_LIBRARIES)
|
||||
|
@ -19,7 +19,9 @@ FIND_LIBRARY(CM256CC_LIBRARIES
|
||||
PATHS
|
||||
${CM256CC_INCLUDE_DIR}/../lib
|
||||
/usr/local/lib
|
||||
/usr/local/lib64
|
||||
/usr/lib
|
||||
/usr/lib64
|
||||
)
|
||||
|
||||
if(CM256CC_INCLUDE_DIR AND CM256CC_LIBRARIES)
|
||||
|
@ -14,7 +14,9 @@ if(NOT LIBDSDCC_FOUND)
|
||||
PATHS
|
||||
${LIBDSDCC_PKG_LIBRARY_DIRS}
|
||||
/usr/lib
|
||||
/usr/lib64
|
||||
/usr/local/lib
|
||||
/usr/local/lib64
|
||||
)
|
||||
|
||||
if(LIBDSDCC_INCLUDE_DIR AND LIBDSDCC_LIBRARIES)
|
||||
@ -27,4 +29,4 @@ if(NOT LIBDSDCC_FOUND)
|
||||
|
||||
mark_as_advanced(LIBDSDCC_INCLUDE_DIR LIBDSDCC_LIBRARIES)
|
||||
|
||||
endif(NOT LIBDSDCC_FOUND)
|
||||
endif(NOT LIBDSDCC_FOUND)
|
||||
|
@ -1,6 +1,21 @@
|
||||
# Find Lime Suite
|
||||
|
||||
FIND_PATH(LIMESUITE_INCLUDE_DIR lime/LimeSuite.h)
|
||||
FIND_PATH (LIMESUITE_INCLUDE_DIR
|
||||
NAMES lime/LimeSuite.h
|
||||
PATHS
|
||||
/usr/include
|
||||
/usr/local/include
|
||||
)
|
||||
|
||||
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
|
||||
)
|
||||
|
||||
IF (LIMESUITE_INCLUDE_DIR AND LIMESUITE_LIBRARY)
|
||||
SET(LIMESUITE_FOUND TRUE)
|
||||
|
Loading…
Reference in New Issue
Block a user