X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;ds=sidebyside;f=CMakeLists.txt;fp=CMakeLists.txt;h=92734d5eaa315368dff8bc905707e3ae7fae16a0;hb=1c3a97f39c01a76cc6255ca064d39d2225637b0a;hp=b0f1d013f5fd847de6e4b04f21e338bf1c5e5162;hpb=e02cfdd9b86511fcb2081484c1e58d47a0298a3b;p=xonotic%2Fnetradiant.git diff --git a/CMakeLists.txt b/CMakeLists.txt index b0f1d013..92734d5e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -229,6 +229,10 @@ if (BUILD_BINARIES) addflags("-Wno-unused-variable") addflags("-Wno-unused-parameter") + if (APPLE) + add_definitions(-DGL_SILENCE_DEPRECATION=1) + endif() + set(CMAKE_POSITION_INDEPENDENT_CODE 1) endif ()