diff options
author | crupest <crupest@outlook.com> | 2022-09-29 17:49:35 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2022-09-29 17:49:35 +0800 |
commit | 65f920e9b88dc89124b286d82668ece9178a665f (patch) | |
tree | 23f29b4171366e23b6ac88d5149352ca8ef597e2 /src/platform/graphics/cairo | |
parent | 6b14866d4cb0e496d28142f3f42e5f2624d6dc77 (diff) | |
download | cru-65f920e9b88dc89124b286d82668ece9178a665f.tar.gz cru-65f920e9b88dc89124b286d82668ece9178a665f.tar.bz2 cru-65f920e9b88dc89124b286d82668ece9178a665f.zip |
Start to work on emscripten.
Diffstat (limited to 'src/platform/graphics/cairo')
-rw-r--r-- | src/platform/graphics/cairo/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/platform/graphics/cairo/CMakeLists.txt b/src/platform/graphics/cairo/CMakeLists.txt index 206fa21c..5879e01c 100644 --- a/src/platform/graphics/cairo/CMakeLists.txt +++ b/src/platform/graphics/cairo/CMakeLists.txt @@ -1,4 +1,4 @@ -if (UNIX) +if (UNIX AND NOT EMSCRIPTEN) # It's so great to see emscripten is somewhat UNIX! foreach(PP IN LISTS CMAKE_SYSTEM_PREFIX_PATH) cmake_path(APPEND PP "lib" ${CMAKE_LIBRARY_ARCHITECTURE}) list(APPEND LIB_ARCH_DIR ${PP}) @@ -16,7 +16,7 @@ if (UNIX) find_library(LIB_PNG png REQUIRED) - add_library(CruPlatformGraphicsCairo SHARED + add_library(CruPlatformGraphicsCairo Base.cpp CairoBrush.cpp CairoGeometry.cpp |