summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-07-15 14:14:07 +0300
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-07-15 14:14:07 +0300
commit7e1a603bfd5bff09bf26cfdd5f910a8f0079f394 (patch)
tree96cd1ab67213e17b8683de21ae07945648cdab7c
parentd323b2472f96689b46bea69a60ac5349c19e3338 (diff)
FriBidi: Static library on all platforms
-rw-r--r--Depends.cmake9
1 files changed, 1 insertions, 8 deletions
diff --git a/Depends.cmake b/Depends.cmake
index 3641a373..5572ad3d 100644
--- a/Depends.cmake
+++ b/Depends.cmake
@@ -105,14 +105,7 @@ if (ENABLE_FRIBIDI AND EXISTS ${CMAKE_SOURCE_DIR}/lib/fribidi)
105 add_library (fribidi-lib INTERFACE) 105 add_library (fribidi-lib INTERFACE)
106 add_dependencies (fribidi-lib fribidi-ext) 106 add_dependencies (fribidi-lib fribidi-ext)
107 target_include_directories (fribidi-lib INTERFACE ${_dst}/include) 107 target_include_directories (fribidi-lib INTERFACE ${_dst}/include)
108 if (APPLE) 108 target_link_libraries (fribidi-lib INTERFACE ${_dst}/lib/libfribidi.a)
109 target_link_libraries (fribidi-lib INTERFACE ${_dst}/lib/libfribidi.0.dylib)
110 elseif (MSYS)
111 target_link_libraries (fribidi-lib INTERFACE -L${_dst}/lib fribidi)
112 install (PROGRAMS ${_dst}/bin/msys-fribidi-0.dll DESTINATION .)
113 else ()
114 target_link_libraries (fribidi-lib INTERFACE ${_dst}/lib/libfribidi.a)
115 endif ()
116 set (FRIBIDI_FOUND YES) 109 set (FRIBIDI_FOUND YES)
117 endif () 110 endif ()
118endif () 111endif ()