Skip to content

Commit 87e3901

Browse files
committed
Disable testing on Windows due to a bug
The bug is described here - https://gitlab.kitware.com/cmake/cmake/-/issues/22659.
1 parent 86e0bc2 commit 87e3901

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

CMakeLists.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,11 @@ ENDIF("${isSystemDir}" STREQUAL "-1")
6262
add_subdirectory(src)
6363

6464
SET(INCLUDE_TESTS CACHE BOOL FALSE)
65+
if (INCLUDE_TESTS AND WIN32)
66+
message(WARNING "Not supported on Windows due to a bug: https://gitlab.kitware.com/cmake/cmake/-/issues/22659. Testing will be disabled.")
67+
SET(INCLUDE_TESTS FALSE)
68+
endif()
69+
6570
if (INCLUDE_TESTS)
6671
include(CTest)
6772
add_subdirectory(test)

0 commit comments

Comments
 (0)