aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index bd807d0..a9a0b9c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -247,7 +247,7 @@ install(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/onig-config
# Test
if(BUILD_TEST)
add_subdirectory(test)
- if (NOT APPLE)
+ if(CMAKE_COMPILER_IS_GNUCC)
add_subdirectory(windows)
endif()
endif(BUILD_TEST)