summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBradley Bell <bradleyb@uw.edu>2021-08-21 03:20:37 (GMT)
committerBradley Bell <bradleyb@uw.edu>2021-08-21 03:35:40 (GMT)
commitbf09145eb0cfc80068441631d0b106cc7948cff3 (patch)
tree8054493ef3d142783925d53362c62a2a0495178c /Source
parent78f758a463516a78a9ec8d472080c6e61cb89c7f (diff)
downloadCMake-bf09145eb0cfc80068441631d0b106cc7948cff3.zip
CMake-bf09145eb0cfc80068441631d0b106cc7948cff3.tar.gz
CMake-bf09145eb0cfc80068441631d0b106cc7948cff3.tar.bz2
Enable Watcom WMake generator on Darwin
Open Watcom v2 runs on Mac OS and is useful there for doing cross-compilation.
Diffstat (limited to 'Source')
-rw-r--r--Source/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CMakeLists.txt b/Source/CMakeLists.txt
index 791871e..2e57a16 100644
--- a/Source/CMakeLists.txt
+++ b/Source/CMakeLists.txt
@@ -803,7 +803,7 @@ if (WIN32)
endif ()
# Watcom support
-if(WIN32 OR CMAKE_SYSTEM_NAME STREQUAL "Linux")
+if(WIN32 OR CMAKE_SYSTEM_NAME STREQUAL "Linux" OR CMAKE_SYSTEM_NAME STREQUAL "Darwin")
set_property(SOURCE cmake.cxx APPEND PROPERTY COMPILE_DEFINITIONS CMAKE_USE_WMAKE)
list(APPEND SRCS
cmGlobalWatcomWMakeGenerator.cxx