summaryrefslogtreecommitdiff
path: root/gr-utils/python/modtool/gr-newmod
diff options
context:
space:
mode:
authorJohnathan Corgan <johnathan@corganlabs.com>2013-04-02 14:57:37 -0700
committerJohnathan Corgan <johnathan@corganlabs.com>2013-04-02 14:58:33 -0700
commit8fff5ab237b2d366fdaa1b36803912ce156dcf57 (patch)
treeb2a4d3ed1796997254ec5e900a895c4d26d67d4e /gr-utils/python/modtool/gr-newmod
parent0801d677b68ccd265461bf2a6eb7a674d120721a (diff)
modtool: update FindGnuradioRuntime.cmake for new org
Diffstat (limited to 'gr-utils/python/modtool/gr-newmod')
-rw-r--r--gr-utils/python/modtool/gr-newmod/cmake/Modules/FindGnuradioRuntime.cmake22
1 files changed, 1 insertions, 21 deletions
diff --git a/gr-utils/python/modtool/gr-newmod/cmake/Modules/FindGnuradioRuntime.cmake b/gr-utils/python/modtool/gr-newmod/cmake/Modules/FindGnuradioRuntime.cmake
index bbc1ca40d7..99a4a6d2c0 100644
--- a/gr-utils/python/modtool/gr-newmod/cmake/Modules/FindGnuradioRuntime.cmake
+++ b/gr-utils/python/modtool/gr-newmod/cmake/Modules/FindGnuradioRuntime.cmake
@@ -1,25 +1,5 @@
INCLUDE(FindPkgConfig)
-PKG_CHECK_MODULES(PC_GNURADIO_RUNTIME gnuradio-runtime)
-
-FIND_PATH(
- GNURADIO_RUNTIME_INCLUDE_DIRS
- NAMES gr_random.h
- HINTS $ENV{GNURADIO_RUNTIME_DIR}/include/gnuradio
- ${PC_GNURADIO_RUNTIME_INCLUDEDIR}/gnuradio
- PATHS /usr/local/include/gnuradio
- /usr/include/gnuradio
-)
-
-FIND_LIBRARY(
- GNURADIO_RUNTIME_LIBRARIES
- NAMES gnuradio-runtime
- HINTS $ENV{GNURADIO_RUNTIME_DIR}/lib
- ${PC_GNURADIO_RUNTIME_LIBDIR}
- PATHS /usr/local/lib
- /usr/local/lib64
- /usr/lib
- /usr/lib64
-)
+PKG_CHECK_MODULES(GNURADIO_RUNTIME gnuradio-runtime)
INCLUDE(FindPackageHandleStandardArgs)
FIND_PACKAGE_HANDLE_STANDARD_ARGS(GNURADIO_RUNTIME DEFAULT_MSG GNURADIO_RUNTIME_LIBRARIES GNURADIO_RUNTIME_INCLUDE_DIRS)