summaryrefslogtreecommitdiff
path: root/gr-fcd/lib/CMakeLists.txt
diff options
context:
space:
mode:
authorMichael Dickens2012-03-13 09:14:52 -0700
committerJohnathan Corgan2012-03-13 09:14:52 -0700
commit85beb37cac923798fa0ea6f27a3413e174e43367 (patch)
tree4bfb38d6d618bb990222118200fb9735d230c174 /gr-fcd/lib/CMakeLists.txt
parent704afafe874735a8b260870efb1ed11c2c85eff4 (diff)
downloadgnuradio-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.txt5
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}
)