aboutsummaryrefslogtreecommitdiff
path: root/src/osx/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/osx/CMakeLists.txt')
-rw-r--r--src/osx/CMakeLists.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/osx/CMakeLists.txt b/src/osx/CMakeLists.txt
index cb6c2b1a..5d20c2ec 100644
--- a/src/osx/CMakeLists.txt
+++ b/src/osx/CMakeLists.txt
@@ -10,7 +10,10 @@ target_sources(cru_osx_base PUBLIC
${CRU_OSX_BASE_INCLUDE_DIR}/Resource.hpp
)
-target_link_libraries(cru_osx_base PUBLIC cru_platform_base)
+find_library(FOUNDATION Foundation REQUIRED)
+find_library(CORE_FOUNDATION CoreFoundation REQUIRED)
+
+target_link_libraries(cru_osx_base PUBLIC cru_platform_base ${FOUNDATION} ${CORE_FOUNDATION})
add_subdirectory(graphics)
add_subdirectory(gui)