Sfoglia il codice sorgente

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.
Ryan C. Gordon 10 anni fa
parent
commit
bb1e2bd0b5
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      CMakeLists.txt

+ 1 - 1
CMakeLists.txt

@@ -13,7 +13,7 @@ project(SDL2 C)
 # !!! FIXME:  properly resolved, this line silences a warning in CMake 3.0+.
 # !!! FIXME:  properly resolved, this line silences a warning in CMake 3.0+.
 # !!! FIXME:  remove it and this comment entirely once the problem is
 # !!! FIXME:  remove it and this comment entirely once the problem is
 # !!! FIXME:  properly resolved.
 # !!! FIXME:  properly resolved.
-cmake_policy(SET CMP0042 OLD)
+#cmake_policy(SET CMP0042 OLD)
 
 
 include(CheckFunctionExists)
 include(CheckFunctionExists)
 include(CheckLibraryExists)
 include(CheckLibraryExists)