summaryrefslogtreecommitdiff
path: root/gr-howto-write-a-block/cmake
diff options
context:
space:
mode:
Diffstat (limited to 'gr-howto-write-a-block/cmake')
-rw-r--r--gr-howto-write-a-block/cmake/Modules/FindGnuradioCore.cmake4
-rw-r--r--gr-howto-write-a-block/cmake/Modules/FindGruel.cmake4
2 files changed, 4 insertions, 4 deletions
diff --git a/gr-howto-write-a-block/cmake/Modules/FindGnuradioCore.cmake b/gr-howto-write-a-block/cmake/Modules/FindGnuradioCore.cmake
index b45cf95e6..3773588a7 100644
--- a/gr-howto-write-a-block/cmake/Modules/FindGnuradioCore.cmake
+++ b/gr-howto-write-a-block/cmake/Modules/FindGnuradioCore.cmake
@@ -1,11 +1,11 @@
INCLUDE(FindPkgConfig)
-PKG_CHECK_MODULES(PC_GNURADIO_CORE QUIET gnuradio-core)
+PKG_CHECK_MODULES(PC_GNURADIO_CORE gnuradio-core)
FIND_PATH(
GNURADIO_CORE_INCLUDE_DIRS
NAMES gr_random.h
HINTS $ENV{GNURADIO_CORE_DIR}/include/gnuradio
- ${PC_GNURADIO_CORE_INCLUDE_DIR}
+ ${PC_GNURADIO_CORE_INCLUDEDIR}
PATHS /usr/local/include/gnuradio
/usr/include/gnuradio
)
diff --git a/gr-howto-write-a-block/cmake/Modules/FindGruel.cmake b/gr-howto-write-a-block/cmake/Modules/FindGruel.cmake
index 56b8b1773..58dff7044 100644
--- a/gr-howto-write-a-block/cmake/Modules/FindGruel.cmake
+++ b/gr-howto-write-a-block/cmake/Modules/FindGruel.cmake
@@ -1,11 +1,11 @@
INCLUDE(FindPkgConfig)
-PKG_CHECK_MODULES(PC_GRUEL QUIET gnuradio-core)
+PKG_CHECK_MODULES(PC_GRUEL gruel)
FIND_PATH(
GRUEL_INCLUDE_DIRS
NAMES gruel/attributes.h
HINTS $ENV{GRUEL_DIR}/include
- ${PC_GRUEL_INCLUDE_DIR}
+ ${PC_GRUEL_INCLUDEDIR}
PATHS /usr/local/include
/usr/include
)