cmake: fix linker flags on Mac OS X
This commit is contained in:
parent
0b44c2dc25
commit
6719aa9445
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user