Build: fix #647: printer forward causes crash on Mac OS X

This commit is contained in:
Dorian Johnson 2012-07-12 11:39:38 -05:00
parent 53cb0cf965
commit e63de28be1

View File

@ -108,6 +108,7 @@ if(APPLE)
include_directories(/opt/local/include)
link_directories(/opt/local/lib)
set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -mmacosx-version-min=10.4")
set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -framework CoreFoundation")
endif()
if(NOT WIN32)