cmake: fix search hints

This commit is contained in:
Dimitri Stolnikov 2012-06-03 00:05:25 +02:00
parent 842e48d101
commit d56e18a1d9
2 changed files with 8 additions and 8 deletions

View File

@ -3,11 +3,11 @@ PKG_CHECK_MODULES(PC_GNURADIO_FCD gnuradio-fcd)
FIND_PATH(
GNURADIO_FCD_INCLUDE_DIRS
NAMES fcd_api.h
HINTS $ENV{GNURADIO_FCD_DIR}/include/gnuradio/fcd
NAMES gnuradio/fcd_api.h
HINTS $ENV{GNURADIO_FCD_DIR}/include
${PC_GNURADIO_FCD_INCLUDEDIR}
PATHS /usr/local/include/gnuradio
/usr/include/gnuradio
PATHS /usr/local/include
/usr/include
)
FIND_LIBRARY(

View File

@ -3,11 +3,11 @@ PKG_CHECK_MODULES(PC_GNURADIO_UHD gnuradio-uhd)
FIND_PATH(
GNURADIO_UHD_INCLUDE_DIRS
NAMES gr_uhd_api.h
HINTS $ENV{GNURADIO_UHD_DIR}/include/gnuradio
NAMES gnuradio/gr_uhd_api.h
HINTS $ENV{GNURADIO_UHD_DIR}/include
${PC_GNURADIO_UHD_INCLUDEDIR}
PATHS /usr/local/include/gnuradio
/usr/include/gnuradio
PATHS /usr/local/include
/usr/include
)
FIND_LIBRARY(