From bf09145eb0cfc80068441631d0b106cc7948cff3 Mon Sep 17 00:00:00 2001 From: Bradley Bell Date: Fri, 20 Aug 2021 20:20:37 -0700 Subject: Enable Watcom WMake generator on Darwin Open Watcom v2 runs on Mac OS and is useful there for doing cross-compilation. --- Source/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v0.12