del local cmake modules

This commit is contained in:
Bastian Bloessl
2018-10-04 11:09:45 +02:00
parent 42f06ef628
commit b4e47b7c7b
12 changed files with 10 additions and 1875 deletions
+10 -15
View File
@@ -75,6 +75,16 @@ if(NOT Boost_FOUND)
message(FATAL_ERROR "Boost required to compile foo")
endif()
########################################################################
# Find gnuradio build dependencies
########################################################################
set(GR_REQUIRED_COMPONENTS RUNTIME PMT BLOCKS FILTER ANALOG)
find_package(Gnuradio)
if(NOT GNURADIO_RUNTIME_FOUND)
message(FATAL_ERROR "GnuRadio Runtime required to compile foo")
endif()
########################################################################
# Install directories
########################################################################
@@ -92,21 +102,6 @@ set(GR_LIBEXEC_DIR libexec)
set(GR_PKG_LIBEXEC_DIR ${GR_LIBEXEC_DIR}/${CMAKE_PROJECT_NAME})
set(GRC_BLOCKS_DIR ${GR_PKG_DATA_DIR}/grc/blocks)
########################################################################
# Find gnuradio build dependencies
########################################################################
set(GR_REQUIRED_COMPONENTS RUNTIME PMT BLOCKS FILTER ANALOG)
find_package(Gnuradio)
if(NOT GNURADIO_RUNTIME_FOUND)
message(FATAL_ERROR "GnuRadio Runtime required to compile foo")
endif()
find_package(SWIG)
if(NOT SWIG_FOUND)
message(FATAL_ERROR "SWIG required to compile gr-foo")
endif()
########################################################################
# On Apple only, set install name and use rpath correctly, if not already set
########################################################################