aboutsummaryrefslogtreecommitdiff
path: root/src/platform/bootstrap/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/platform/bootstrap/CMakeLists.txt')
-rw-r--r--src/platform/bootstrap/CMakeLists.txt10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/platform/bootstrap/CMakeLists.txt b/src/platform/bootstrap/CMakeLists.txt
index 7759415f..c979f586 100644
--- a/src/platform/bootstrap/CMakeLists.txt
+++ b/src/platform/bootstrap/CMakeLists.txt
@@ -1,13 +1,15 @@
set(CRU_PLATFORM_BOOTSTRAP_INCLUDE_DIR ${CRU_INCLUDE_DIR}/cru/platform/bootstrap)
-add_library(cru_platform_boostrap SHARED
+add_library(cru_platform_bootstrap SHARED
Bootstrap.cpp
)
-target_sources(cru_platform_boostrap PUBLIC
+target_sources(cru_platform_bootstrap PUBLIC
${CRU_PLATFORM_BOOTSTRAP_INCLUDE_DIR}/Bootstrap.hpp
)
if(WIN32)
- target_link_libraries(cru_platform_boostrap PUBLIC cru_win_gui)
+ target_link_libraries(cru_platform_bootstrap PUBLIC cru_win_gui)
+elseif(APPLE)
+ target_link_libraries(cru_platform_bootstrap PUBLIC cru_osx_gui)
endif()
-target_compile_definitions(cru_platform_boostrap PRIVATE CRU_PLATFORM_BOOTSTRAP_EXPORT_API)
+target_compile_definitions(cru_platform_bootstrap PRIVATE CRU_PLATFORM_BOOTSTRAP_EXPORT_API)