aboutsummaryrefslogtreecommitdiffstats
path: root/host
diff options
context:
space:
mode:
authorJoerg Hofrichter <joerg.hofrichter@ni.com>2020-06-26 14:10:22 +0200
committerAaron Rossetto <aaron.rossetto@ni.com>2020-06-26 14:29:26 -0500
commit27232433a2ed8aa60a59a417a47703627ad8581c (patch)
tree6a6e1699c20e4bcccd1a6897f66a909154401be7 /host
parentc718faf3387a07a9a1b86ab473f6ed7ac4cb493a (diff)
downloaduhd-27232433a2ed8aa60a59a417a47703627ad8581c.tar.gz
uhd-27232433a2ed8aa60a59a417a47703627ad8581c.tar.bz2
uhd-27232433a2ed8aa60a59a417a47703627ad8581c.zip
cmake: tests: Fix CMake warning introduced by QEMU unittest option
Diffstat (limited to 'host')
-rw-r--r--host/cmake/Modules/UHDUnitTest.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/cmake/Modules/UHDUnitTest.cmake b/host/cmake/Modules/UHDUnitTest.cmake
index 7a6e00178..b32699e28 100644
--- a/host/cmake/Modules/UHDUnitTest.cmake
+++ b/host/cmake/Modules/UHDUnitTest.cmake
@@ -81,7 +81,7 @@ function(UHD_ADD_TEST test_name)
add_test(${test_name} ${SHELL} ${sh_file})
- endif(UNIX)
+ endif(ENABLE_QEMU_UNITTESTS)
if(WIN32)
list(APPEND libpath ${DLL_PATHS} "%PATH%")