diff options
author | Johnathan Corgan <jcorgan@corganenterprises.com> | 2012-01-18 08:57:29 -0800 |
---|---|---|
committer | Johnathan Corgan <jcorgan@corganenterprises.com> | 2012-01-18 08:57:29 -0800 |
commit | 877e92eb06f2603930a049ffc75e234b711fafa4 (patch) | |
tree | a63230fb70e84f2228b4c354178fcea800cf9a82 /gr-noaa/CMakeLists.txt | |
parent | 9f41efcb0a98f035186d84deffa21f1c38141845 (diff) |
noaa: add pkgconfig file for C++ library
Diffstat (limited to 'gr-noaa/CMakeLists.txt')
-rw-r--r-- | gr-noaa/CMakeLists.txt | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/gr-noaa/CMakeLists.txt b/gr-noaa/CMakeLists.txt index 621dd5d6ed..a3a5d56db4 100644 --- a/gr-noaa/CMakeLists.txt +++ b/gr-noaa/CMakeLists.txt @@ -84,4 +84,18 @@ if(ENABLE_PYTHON) add_subdirectory(apps) endif(ENABLE_PYTHON) +######################################################################## +# Create Pkg Config File +######################################################################## +configure_file( + ${CMAKE_CURRENT_SOURCE_DIR}/gnuradio-noaa.pc.in + ${CMAKE_CURRENT_BINARY_DIR}/gnuradio-noaa.pc +@ONLY) + +install( + FILES ${CMAKE_CURRENT_BINARY_DIR}/gnuradio-noaa.pc + DESTINATION ${GR_LIBRARY_DIR}/pkgconfig + COMPONENT "noaa_devel" +) + endif(ENABLE_GR_NOAA) |