Skip to content

Instantly share code, notes, and snippets.

@iche033
Created December 16, 2016 03:00
Show Gist options
  • Save iche033/e2b152d9df080b21f71ba3b65aa39922 to your computer and use it in GitHub Desktop.
Save iche033/e2b152d9df080b21f71ba3b65aa39922 to your computer and use it in GitHub Desktop.
diff -r 108ab0bcc696 CMakeLists.txt
--- a/CMakeLists.txt Fri Jul 15 02:11:59 2016 +0200
+++ b/CMakeLists.txt Thu Dec 15 18:58:54 2016 -0800
@@ -326,6 +326,7 @@
# 10.7 is the minimum for libc++ support
set(CMAKE_OSX_DEPLOYMENT_TARGET 10.7)
+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -stdlib=libc++")
# Make sure that the OpenGL render system is selected for non-iOS Apple builds
set(OGRE_BUILD_RENDERSYSTEM_GLES FALSE)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment