Skip to content

Instantly share code, notes, and snippets.

@mcs07
Created January 2, 2016 16:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mcs07/b9b2ccfdb9bc23f60044 to your computer and use it in GitHub Desktop.
Save mcs07/b9b2ccfdb9bc23f60044 to your computer and use it in GitHub Desktop.
Allow Indigo to compile under OS X 10.11
diff --git a/common/cmake/GetSystemVersion.cmake b/common/cmake/GetSystemVersion.cmake
index 17615ab..794babd 100644
--- a/common/cmake/GetSystemVersion.cmake
+++ b/common/cmake/GetSystemVersion.cmake
@@ -27,6 +27,8 @@ elseif(APPLE)
set(SUBSYSTEM_NAME "10.9")
elseif(DARWIN_VERSION MATCHES 14)
set(SUBSYSTEM_NAME "10.10")
+ elseif(DARWIN_VERSION MATCHES 15)
+ set(SUBSYSTEM_NAME "10.11")
else()
message(FATAL_ERROR "Unsupported DARWIN_VERSION: ${DARWIN_VERSION}")
endif()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment