Skip to content

Commit

Permalink
CMake: Turned off Mac OS X rpath warning kludge.
Browse files Browse the repository at this point in the history
Apparently CMake errors out if it doesn't know this policy, and we don't
otherwise require CMake 3.0 yet. Sigh.
  • Loading branch information
icculus committed Jan 5, 2016
1 parent 49e4768 commit bb1e2bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Expand Up @@ -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)
Expand Down

0 comments on commit bb1e2bd

Please sign in to comment.