cmake: Export non-default Limesuite driver path

master
Nils Fürste 3 years ago committed by Andre Puschmann
parent c177ed3331
commit 690bccccc6

@ -11,13 +11,16 @@ if(NOT LIMESDR_FOUND)
find_path(LIMESDR_INCLUDE_DIRS find_path(LIMESDR_INCLUDE_DIRS
NAMES LimeSuite.h NAMES LimeSuite.h
HINTS $ENV{LIMESUITE_DIR}/include
PATHS ${LIMESDR_PKG_INCLUDE_DIRS} PATHS ${LIMESDR_PKG_INCLUDE_DIRS}
/usr/include/lime /usr/include/lime
/usr/local/include/lime /usr/local/include/lime
$ENV{LIMESUITE_DIR}/include/lime
) )
find_library(LIMESDR_LIBRARIES find_library(LIMESDR_LIBRARIES
NAMES LimeSuite NAMES LimeSuite
HINTS $ENV{LIMESUITE_DIR}/lib
PATHS ${LIMESDR_PKG_LIBRARY_DIRS} PATHS ${LIMESDR_PKG_LIBRARY_DIRS}
/usr/lib /usr/lib
/usr/local/lib /usr/local/lib

Loading…
Cancel
Save