diff --git a/ZAPDTR/ZAPD/CMakeLists.txt b/ZAPDTR/ZAPD/CMakeLists.txt index c169a7536..93aaf7356 100644 --- a/ZAPDTR/ZAPD/CMakeLists.txt +++ b/ZAPDTR/ZAPD/CMakeLists.txt @@ -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