Commit bb1e2bd0b56595a02005a335f4bed1a9f2fcb7d1

Ryan C. Gordon 2016-01-05T05:44:32

CMake: Turned off Mac OS X rpath warning kludge. Apparently CMake errors out if it doesn't know this policy, and we don't otherwise require CMake 3.0 yet. Sigh.

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/CMakeLists.txt b/CMakeLists.txt
index d4620c6..70c28bd 100755
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -13,7 +13,7 @@ project(SDL2 C)
 # !!! FIXME:  properly resolved, this line silences a warning in CMake 3.0+.
 # !!! FIXME:  remove it and this comment entirely once the problem is
 # !!! FIXME:  properly resolved.
-cmake_policy(SET CMP0042 OLD)
+#cmake_policy(SET CMP0042 OLD)
 
 include(CheckFunctionExists)
 include(CheckLibraryExists)