mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-08-14 02:27:21 -07:00
[cmake] Ask macOS to use deps after system (#1997)
This commit is contained in:
parent
5dcc7e41b9
commit
c44dec1e35
1 changed files with 3 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue