aboutsummaryrefslogtreecommitdiff
path: root/tests/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'tests/CMakeLists.txt')
-rw-r--r--tests/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index 7a56301..7a7d3db 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -27,7 +27,7 @@ endforeach()
# processes.
set(TEST_SETUP -E TESTVAR)
-if(${CMAKE_SYSTEM_NAME} EQUAL WINDOWS)
+if(WIN32)
set(TEST_SETUP ${TEST_SETUP}_WIN)
set(exec ${CMAKE_BINARY_DIR}/cleanpath.exe)