[cmake] Ask macOS to use deps after system (#1997)
This commit is contained in:
parent
5dcc7e41b9
commit
c44dec1e35
|
@ -329,6 +329,9 @@ endif()
|
|||
# Compile and link options
|
||||
################################################################################
|
||||
|
||||
if (CMAKE_SYSTEM_NAME STREQUAL "Darwin")
|
||||
set(CMAKE_FIND_FRAMEWORK LAST)
|
||||
endif()
|
||||
find_package(PNG REQUIRED)
|
||||
|
||||
target_include_directories(${PROJECT_NAME} PRIVATE
|
||||
|
|
Loading…
Reference in New Issue