OS X: find frameworks last.
Before this commit, any available libpng or libfreetype would be picked, e.g. from Mono.framework. After, homebrew and MacPorts are prioritized.
This commit is contained in:
parent
1dba594949
commit
3c887d30e3
@ -176,6 +176,8 @@ if(WIN32)
|
||||
"${CMAKE_SOURCE_DIR}/extlib/si/siapp.lib")
|
||||
endif()
|
||||
elseif(APPLE)
|
||||
set(CMAKE_FIND_FRAMEWORKS LAST)
|
||||
|
||||
find_package(PNG REQUIRED)
|
||||
find_package(Freetype REQUIRED)
|
||||
find_library(APPKIT_LIBRARY AppKit REQUIRED)
|
||||
|
Loading…
Reference in New Issue
Block a user