From 7714a625c346d91467b904376e71fc1516a8e282 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Moreau?= Date: Sun, 11 Nov 2012 20:05:23 -0500 Subject: [PATCH] macosx: fix linker option warning --- CMakeLists.txt | 3 --- 1 file changed, 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index d2a96ef2f..f034c97e3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -166,13 +166,10 @@ if(APPLE) include_directories(/opt/local/include) link_directories(/opt/local/lib) endif() - if(WITH_CLANG) set(CMAKE_C_COMPILER "clang") endif() - set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -mmacosx-version-min=10.4") - set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl-framework,CoreFoundation") endif() set(CMAKE_THREAD_PREFER_PTHREAD TRUE)