Browse Source

Enable Watcom WMake generator on Darwin

Open Watcom v2 runs on Mac OS and is useful there for doing
cross-compilation.
Bradley Bell 4 years ago
parent
commit
bf09145eb0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Source/CMakeLists.txt

+ 1 - 1
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