Skip to content

Commit

Permalink
cmake: fix linker flags on Mac OS X
Browse files Browse the repository at this point in the history
  • Loading branch information
awakecoding committed Mar 23, 2012
1 parent 0b44c2d commit 6719aa9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ endif()
if(APPLE)
include_directories(/opt/local/include)
link_directories(/opt/local/lib)
set(CMAKE_SHARED_LINKER_FLAGS "-mmacosx-version-min=10.4")
set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -mmacosx-version-min=10.4")
endif()

if(NOT WIN32)
Expand Down

0 comments on commit 6719aa9

Please sign in to comment.