aboutsummaryrefslogtreecommitdiff
path: root/src/osx/CMakeLists.txt
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2021-10-04 21:13:30 +0800
committercrupest <crupest@outlook.com>2021-10-04 21:13:30 +0800
commit4fc39124bc876a9c78a04cb86397a4f0f08878e9 (patch)
tree27b9919b8c17710aed3031b6f1e64055dab0683f /src/osx/CMakeLists.txt
parent8b5df96202b8eb663a9a747c1c9d249f64a933e8 (diff)
downloadcru-4fc39124bc876a9c78a04cb86397a4f0f08878e9.tar.gz
cru-4fc39124bc876a9c78a04cb86397a4f0f08878e9.tar.bz2
cru-4fc39124bc876a9c78a04cb86397a4f0f08878e9.zip
...
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)