aboutsummaryrefslogtreecommitdiff
path: root/cmake/Modules/DefinePlatformDefaults.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/Modules/DefinePlatformDefaults.cmake')
-rw-r--r--cmake/Modules/DefinePlatformDefaults.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/cmake/Modules/DefinePlatformDefaults.cmake b/cmake/Modules/DefinePlatformDefaults.cmake
index 46c3185..0c3a05e 100644
--- a/cmake/Modules/DefinePlatformDefaults.cmake
+++ b/cmake/Modules/DefinePlatformDefaults.cmake
@@ -19,3 +19,7 @@ endif (CMAKE_SYSTEM_NAME MATCHES "NetBSD")
if (CMAKE_SYSTEM_NAME MATCHES "(Solaris|SunOS)")
set(SOLARIS TRUE)
endif (CMAKE_SYSTEM_NAME MATCHES "(Solaris|SunOS)")
+
+if (CMAKE_SYSTEM_NAME MATCHES "OS2")
+ set(OS2 TRUE)
+endif (CMAKE_SYSTEM_NAME MATCHES "OS2")