aboutsummaryrefslogtreecommitdiff
path: root/tests/CMakeLists.txt
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@users.noreply.github.com>2021-05-16 21:06:48 -0400
committerGitHub <noreply@github.com>2021-05-16 21:06:48 -0400
commitbc3013fc68746265db78bf92623f7e6e3e469264 (patch)
treefadf9d7fb0febde598dbc4a7b5ec27eea62020cc /tests/CMakeLists.txt
parent25493db89f8e23d2e78e1ee16b3748173ef60188 (diff)
downloadcleanpath-bc3013fc68746265db78bf92623f7e6e3e469264.tar.gz
Add default path (#6)
* Add default path * Improve support/implementation logic * Fix braces in tests * Enable warnings * Emit more generalized form of windows path * Change initialization order * Add --default/-D to documentation * Fix platform detection
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)