diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-07-26 18:41:18 +0300 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-07-26 18:48:10 +0300 |
commit | f0a68d8cf1334494b1a02786d53f27dd01f96f82 (patch) | |
tree | 2b97ddd181cfca2a0bba751b83d0cbcf6c566f7f /CMakeLists.txt | |
parent | 3f30878e6aa490e90e3d7c2d6c0af4878cb608af (diff) |
Depends: Even more build fixes
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 7095173e..e7fe35a7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt | |||
@@ -327,7 +327,12 @@ if (ENABLE_HARFBUZZ AND HARFBUZZ_FOUND) | |||
327 | target_compile_definitions (app PUBLIC LAGRANGE_ENABLE_HARFBUZZ=1) | 327 | target_compile_definitions (app PUBLIC LAGRANGE_ENABLE_HARFBUZZ=1) |
328 | endif () | 328 | endif () |
329 | if (ENABLE_FRIBIDI AND FRIBIDI_FOUND) | 329 | if (ENABLE_FRIBIDI AND FRIBIDI_FOUND) |
330 | target_link_libraries (app PUBLIC fribidi-lib) | 330 | if (TARGET fribidi-lib) |
331 | target_link_libraries (app PUBLIC fribidi-lib) | ||
332 | else () | ||
333 | target_link_libraries (app PUBLIC ${FRIBIDI_LIBRARIES}) | ||
334 | target_include_directories (app PUBLIC ${FRIBIDI_INCLUDE_DIRS}) | ||
335 | endif () | ||
331 | target_compile_definitions (app PUBLIC LAGRANGE_ENABLE_FRIBIDI=1) | 336 | target_compile_definitions (app PUBLIC LAGRANGE_ENABLE_FRIBIDI=1) |
332 | endif () | 337 | endif () |
333 | if (APPLE) | 338 | if (APPLE) |