diff options
-rw-r--r-- | Depends-iOS.cmake | 2 | ||||
-rw-r--r-- | Depends.cmake | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/Depends-iOS.cmake b/Depends-iOS.cmake index 96a2f584..912251ca 100644 --- a/Depends-iOS.cmake +++ b/Depends-iOS.cmake | |||
@@ -22,6 +22,8 @@ set (SDL2_LDFLAGS | |||
22 | "-framework UIKit" | 22 | "-framework UIKit" |
23 | ) | 23 | ) |
24 | 24 | ||
25 | pkg_check_modules (WEBP IMPORTED_TARGET libwebpdecoder) | ||
26 | |||
25 | set (FRIBIDI_FOUND YES) | 27 | set (FRIBIDI_FOUND YES) |
26 | set (FRIBIDI_LIBRARIES ${IOS_DIR}/lib/libfribidi.a) | 28 | set (FRIBIDI_LIBRARIES ${IOS_DIR}/lib/libfribidi.a) |
27 | 29 | ||
diff --git a/Depends.cmake b/Depends.cmake index ca01b6c5..10e434e7 100644 --- a/Depends.cmake +++ b/Depends.cmake | |||
@@ -1,9 +1,10 @@ | |||
1 | find_package (PkgConfig) | ||
2 | |||
1 | if (IOS) | 3 | if (IOS) |
2 | include (Depends-iOS.cmake) | 4 | include (Depends-iOS.cmake) |
3 | return () | 5 | return () |
4 | endif () | 6 | endif () |
5 | 7 | ||
6 | find_package (PkgConfig) | ||
7 | find_program (MESON_EXECUTABLE meson DOC "Meson build system") | 8 | find_program (MESON_EXECUTABLE meson DOC "Meson build system") |
8 | find_program (NINJA_EXECUTABLE ninja DOC "Ninja build tool") | 9 | find_program (NINJA_EXECUTABLE ninja DOC "Ninja build tool") |
9 | include (ExternalProject) | 10 | include (ExternalProject) |