aboutsummaryrefslogtreecommitdiffstats
path: root/host/tests
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2011-04-04 16:51:17 -0700
committerJosh Blum <josh@joshknows.com>2011-04-04 16:51:17 -0700
commit6a2fbe07e7674794a883a7062ce2225781cf5193 (patch)
tree9727982f21ee47be95c4b89216da327e03e2707d /host/tests
parentdcd555636c282ac0454b463c91d360ce062e316d (diff)
downloaduhd-6a2fbe07e7674794a883a7062ce2225781cf5193.tar.gz
uhd-6a2fbe07e7674794a883a7062ce2225781cf5193.tar.bz2
uhd-6a2fbe07e7674794a883a7062ce2225781cf5193.zip
uhd: a few minor changes to get uhd building under mingw or cygwin
Diffstat (limited to 'host/tests')
-rw-r--r--host/tests/CMakeLists.txt6
1 files changed, 4 insertions, 2 deletions
diff --git a/host/tests/CMakeLists.txt b/host/tests/CMakeLists.txt
index 821b2eb9e..f08fe669b 100644
--- a/host/tests/CMakeLists.txt
+++ b/host/tests/CMakeLists.txt
@@ -50,5 +50,7 @@ ENDFOREACH(test_source)
########################################################################
# demo of a loadable module
########################################################################
-ADD_LIBRARY(module_test MODULE module_test.cpp)
-TARGET_LINK_LIBRARIES(module_test uhd)
+IF(MSVC OR APPLE OR LINUX)
+ ADD_LIBRARY(module_test MODULE module_test.cpp)
+ TARGET_LINK_LIBRARIES(module_test uhd)
+ENDIF()