diff options
author | Michael Dickens | 2012-03-13 09:14:52 -0700 |
---|---|---|
committer | Johnathan Corgan | 2012-03-13 09:14:52 -0700 |
commit | 85beb37cac923798fa0ea6f27a3413e174e43367 (patch) | |
tree | 4bfb38d6d618bb990222118200fb9735d230c174 /gr-fcd/lib/CMakeLists.txt | |
parent | 704afafe874735a8b260870efb1ed11c2c85eff4 (diff) | |
download | gnuradio-85beb37cac923798fa0ea6f27a3413e174e43367.tar.gz gnuradio-85beb37cac923798fa0ea6f27a3413e174e43367.tar.bz2 gnuradio-85beb37cac923798fa0ea6f27a3413e174e43367.zip |
fcd: implement conditional build for MacOSX
Diffstat (limited to 'gr-fcd/lib/CMakeLists.txt')
-rw-r--r-- | gr-fcd/lib/CMakeLists.txt | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gr-fcd/lib/CMakeLists.txt b/gr-fcd/lib/CMakeLists.txt index b41037d4a..ee28def04 100644 --- a/gr-fcd/lib/CMakeLists.txt +++ b/gr-fcd/lib/CMakeLists.txt @@ -48,7 +48,10 @@ list(APPEND fcd_libs ${Boost_LIBRARIES} ) -if(NOT WIN32 AND NOT MACOSX) +if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin") + FIND_LIBRARY(IOKIT_LIBRARY IOKit) + list(APPEND fcd_libs ${IOKIT_LIBRARY}) +elseif (NOT WIN32) list(APPEND fcd_libs ${LIBUSB_LIBRARIES} ) |