aboutsummaryrefslogtreecommitdiff
path: root/src/platform/bootstrap/CMakeLists.txt
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2022-09-29 17:49:35 +0800
committercrupest <crupest@outlook.com>2022-09-29 17:49:35 +0800
commit65f920e9b88dc89124b286d82668ece9178a665f (patch)
tree23f29b4171366e23b6ac88d5149352ca8ef597e2 /src/platform/bootstrap/CMakeLists.txt
parent6b14866d4cb0e496d28142f3f42e5f2624d6dc77 (diff)
downloadcru-65f920e9b88dc89124b286d82668ece9178a665f.tar.gz
cru-65f920e9b88dc89124b286d82668ece9178a665f.tar.bz2
cru-65f920e9b88dc89124b286d82668ece9178a665f.zip
Start to work on emscripten.
Diffstat (limited to 'src/platform/bootstrap/CMakeLists.txt')
-rw-r--r--src/platform/bootstrap/CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/platform/bootstrap/CMakeLists.txt b/src/platform/bootstrap/CMakeLists.txt
index f5d79cca..4092c677 100644
--- a/src/platform/bootstrap/CMakeLists.txt
+++ b/src/platform/bootstrap/CMakeLists.txt
@@ -1,4 +1,4 @@
-add_library(CruPlatformBootstrap SHARED
+add_library(CruPlatformBootstrap
Bootstrap.cpp
)
@@ -6,6 +6,8 @@ if(WIN32)
target_link_libraries(CruPlatformBootstrap PUBLIC CruPlatformGuiWin)
elseif(APPLE)
target_link_libraries(CruPlatformBootstrap PUBLIC CruPlatformGuiOsx)
+elseif(EMSCRIPTEN)
+ target_link_libraries(CruPlatformBootstrap PUBLIC CruBase) # TODO: Remember to change this.
else()
target_link_libraries(CruPlatformBootstrap PUBLIC CruPlatformGraphicsCairo)
endif()