From bb1e2bd0b56595a02005a335f4bed1a9f2fcb7d1 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Tue, 5 Jan 2016 05:44:32 -0500 Subject: [PATCH] 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. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index d4620c6bef645..70c28bd3e5777 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)