Skip to content

Commit

Permalink
macosx: fix linker option warning
Browse files Browse the repository at this point in the history
  • Loading branch information
awakecoding committed Nov 12, 2012
1 parent 1c4a587 commit 7714a62
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 7714a62

Please sign in to comment.