1
0
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:
f4exb 2017-05-08 11:05:15 +02:00
parent 6fb6e35607
commit 7b00c47a71
4 changed files with 23 additions and 2 deletions

View File

@ -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)

View File

@ -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)

View File

@ -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)

View File

@ -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)