diff --git a/Source/CMakeLists.txt b/Source/CMakeLists.txt index 791871e12c..2e57a16a5f 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