From 9dbe734f17f62f9a4aafd07344b04e87a81865dd Mon Sep 17 00:00:00 2001 From: Martin Plicht Date: Sun, 10 Jul 2016 23:51:52 +0200 Subject: [PATCH] CMakeLists.txt: mac: Throw in some -headerpad_max_install_names because Xcode told me so --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index eed590e45..246c459a8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -166,7 +166,7 @@ if(UNIX) endif() if(APPLE) - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fobjc-arc") + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fobjc-arc -headerpad_max_install_names") endif() ############################################################################