diff options
author | crupest <crupest@outlook.com> | 2023-10-07 11:05:03 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2023-10-07 11:05:03 +0800 |
commit | faa63afb8db43690fa633fe1673be9331d278e24 (patch) | |
tree | 427d2d34bdd2bcb7da6a498a3e763fc4fec139be /src/platform/graphics/cairo | |
parent | 5571f4a03d10d590c0d0d0e64b9e210d0752a44e (diff) | |
download | cru-faa63afb8db43690fa633fe1673be9331d278e24.tar.gz cru-faa63afb8db43690fa633fe1673be9331d278e24.tar.bz2 cru-faa63afb8db43690fa633fe1673be9331d278e24.zip |
Try to unify meson projects. So deps will be well organized.
Diffstat (limited to 'src/platform/graphics/cairo')
-rw-r--r-- | src/platform/graphics/cairo/CMakeLists.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/platform/graphics/cairo/CMakeLists.txt b/src/platform/graphics/cairo/CMakeLists.txt index 73b18499..48339f7c 100644 --- a/src/platform/graphics/cairo/CMakeLists.txt +++ b/src/platform/graphics/cairo/CMakeLists.txt @@ -35,7 +35,7 @@ if (UNIX AND NOT EMSCRIPTEN) # It's so great to see emscripten is somewhat UNIX! endif() if (EMSCRIPTEN) - add_dependencies(CruPlatformGraphicsCairo cairo-build) - target_link_libraries(CruPlatformGraphicsCairo PUBLIC CruPlatformGraphics PUBLIC ${CAIRO_INSTALL_DIR}/lib/libcairo.a) - target_include_directories(CruPlatformGraphicsCairo PUBLIC ${CAIRO_INSTALL_DIR}/include) + add_dependencies(CruPlatformGraphicsCairo build-meson-projects) + target_link_libraries(CruPlatformGraphicsCairo PUBLIC CruPlatformGraphics PUBLIC ${MESON_PROJECTS_INSTALL_DIR}/lib/libcairo.a) + target_include_directories(CruPlatformGraphicsCairo PUBLIC ${MESON_PROJECTS_INSTALL_DIR}/include) endif() |