diff options
author | Johnathan Corgan <johnathan@corganlabs.com> | 2013-04-12 12:05:10 -0700 |
---|---|---|
committer | Johnathan Corgan <johnathan@corganlabs.com> | 2013-04-12 12:05:10 -0700 |
commit | c018b14e025a52b96da2870e42896db04427e4c9 (patch) | |
tree | c36582ac9bee463e00d69d539220982b0de1ba37 /gnuradio-runtime/lib/pmt/CMakeLists.txt | |
parent | 807b1c95431ab9c6cff7aeb6a794162c89b2a627 (diff) | |
parent | 464c98f856b39b2006ec5ef769348065f0fc82b9 (diff) |
Merge remote-tracking branch 'ncorgan/pmt_rc' into next
Diffstat (limited to 'gnuradio-runtime/lib/pmt/CMakeLists.txt')
-rw-r--r-- | gnuradio-runtime/lib/pmt/CMakeLists.txt | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/gnuradio-runtime/lib/pmt/CMakeLists.txt b/gnuradio-runtime/lib/pmt/CMakeLists.txt index 146a65016c..e7bb4de91d 100644 --- a/gnuradio-runtime/lib/pmt/CMakeLists.txt +++ b/gnuradio-runtime/lib/pmt/CMakeLists.txt @@ -85,6 +85,21 @@ list(APPEND gnuradio_pmt_libs ${LOG4CPP_LIBRARIES} ) +#Add Windows DLL resource file if using MSVC +if(MSVC) + include(${CMAKE_SOURCE_DIR}/cmake/Modules/GrVersion.cmake) + + configure_file( + ${CMAKE_CURRENT_SOURCE_DIR}/gnuradio-pmt.rc.in + ${CMAKE_CURRENT_BINARY_DIR}/gnuradio-pmt.rc + @ONLY) + + list(APPEND gr_pmt_sources + ${CMAKE_CURRENT_BINARY_DIR}/gnuradio-pmt.rc + ) +endif(MSVC) + + add_library(gnuradio-pmt SHARED ${pmt_sources}) target_link_libraries(gnuradio-pmt ${gnuradio_pmt_libs}) |