summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-07-26 18:41:18 +0300
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-07-26 18:48:10 +0300
commitf0a68d8cf1334494b1a02786d53f27dd01f96f82 (patch)
tree2b97ddd181cfca2a0bba751b83d0cbcf6c566f7f /CMakeLists.txt
parent3f30878e6aa490e90e3d7c2d6c0af4878cb608af (diff)
Depends: Even more build fixes
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt7
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)
328endif () 328endif ()
329if (ENABLE_FRIBIDI AND FRIBIDI_FOUND) 329if (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)
332endif () 337endif ()
333if (APPLE) 338if (APPLE)