diff options
author | crupest <crupest@outlook.com> | 2022-06-08 18:40:17 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2022-06-08 18:40:17 +0800 |
commit | c2ad48ce4a0d2f1295c5ebd38f7254fb1587a1ec (patch) | |
tree | 65c3d37281ead82684ff4b816985048b37cf1949 | |
parent | c235a74c890088827759847d71227753f1f2e679 (diff) | |
download | cru-c2ad48ce4a0d2f1295c5ebd38f7254fb1587a1ec.tar.gz cru-c2ad48ce4a0d2f1295c5ebd38f7254fb1587a1ec.tar.bz2 cru-c2ad48ce4a0d2f1295c5ebd38f7254fb1587a1ec.zip |
...
-rw-r--r-- | src/platform/bootstrap/Bootstrap.cpp | 2 | ||||
-rw-r--r-- | src/platform/graphics/cairo/CMakeLists.txt | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/platform/bootstrap/Bootstrap.cpp b/src/platform/bootstrap/Bootstrap.cpp index cfb3697a..93c164d4 100644 --- a/src/platform/bootstrap/Bootstrap.cpp +++ b/src/platform/bootstrap/Bootstrap.cpp @@ -3,7 +3,7 @@ #ifdef CRU_PLATFORM_WINDOWS #include "cru/platform/graphics/direct2d/Factory.h" #include "cru/platform/gui/win/UiApplication.h" -#elifdef CRU_PLATFORM_OSX +#elif defined(CRU_PLATFORM_OSX) #include "cru/platform/graphics/quartz/Factory.h" #include "cru/platform/gui/osx/UiApplication.h" #else diff --git a/src/platform/graphics/cairo/CMakeLists.txt b/src/platform/graphics/cairo/CMakeLists.txt index d4553689..0ef0e5b9 100644 --- a/src/platform/graphics/cairo/CMakeLists.txt +++ b/src/platform/graphics/cairo/CMakeLists.txt @@ -11,7 +11,7 @@ if (UNIX) find_path(GLIB_HEADER_DIR NAMES glib.h PATH_SUFFIXES glib glib-2.0 REQUIRED) find_path(GLIBCONFIG_HEADER_DIR NAMES glibconfig.h HINTS ${LIB_ARCH_DIR} PATH_SUFFIXES glib glib/include glib-2.0 glib-2.0/include REQUIRED) find_path(HARFBUZZ_HEADER_DIR NAMES hb.h PATH_SUFFIXES harfbuzz REQUIRED) - find_path(PANGO_HEADER_DIR NAMES pango PATH_SUFFIXES pango-1.0 REQUIRED) + find_path(PANGO_HEADER_DIR NAMES pango PATH_SUFFIXES pango pango-1.0 REQUIRED) add_library(CruPlatformGraphicsCairo SHARED Base.cpp |