cmake: fix linker flags on Mac OS X

This commit is contained in:
Marc-André Moreau 2012-03-22 20:37:05 -04:00
parent 0b44c2dc25
commit 6719aa9445

View File

@ -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)