mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2024-11-09 19:40:04 +00:00
19daab3677
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@479 64b25241-fba3-4117-9849-534c7e92360d
31 lines
777 B
CMake
31 lines
777 B
CMake
INCLUDE(FindPkgConfig)
|
|
PKG_CHECK_MODULES(PC_DBFCTTC dbfcttc)
|
|
|
|
FIND_PATH(
|
|
DBFCTTC_INCLUDE_DIRS
|
|
NAMES dbfcttc/api.h
|
|
HINTS $ENV{DBFCTTC_DIR}/include
|
|
${PC_DBFCTTC_INCLUDEDIR}
|
|
PATHS ${CMAKE_INSTALL_PREEFIX}/include
|
|
/usr/local/include
|
|
/usr/include
|
|
)
|
|
|
|
FIND_LIBRARY(
|
|
DBFCTTC_LIBRARIES
|
|
NAMES gnuradio-dbfcttc
|
|
HINTS $ENV{DBFCTTC_DIR}/lib
|
|
${PC_DBFCTTC_LIBDIR}
|
|
PATHS ${CMAKE_INSTALL_PREFIX}/lib
|
|
${CMAKE_INSTALL_PREFIX}/lib64
|
|
/usr/local/lib
|
|
/usr/local/lib64
|
|
/usr/lib
|
|
/usr/lib64
|
|
)
|
|
|
|
INCLUDE(FindPackageHandleStandardArgs)
|
|
FIND_PACKAGE_HANDLE_STANDARD_ARGS(DBFCTTC DEFAULT_MSG DBFCTTC_LIBRARIES DBFCTTC_INCLUDE_DIRS)
|
|
MARK_AS_ADVANCED(DBFCTTC_LIBRARIES DBFCTTC_INCLUDE_DIRS)
|
|
|