Skip to content

Commit

Permalink
Add missed dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
ilya-fedin authored and john-preston committed May 5, 2020
1 parent 4777689 commit 3194d88
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 2 deletions.
5 changes: 5 additions & 0 deletions external/auto_updates/xz/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,9 @@ else()
INTERFACE
lzma
)

target_link_libraries(external_xz
INTERFACE
${CMAKE_DL_LIBS}
)
endif()
4 changes: 3 additions & 1 deletion external/ffmpeg/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ else()
${ffmpeg_lib_loc}/libswresample/libswresample.a
${ffmpeg_lib_loc}/libswscale/libswscale.a
${ffmpeg_lib_loc}/libavutil/libavutil.a
desktop-app::external_opus
)
if (LINUX)
target_link_static_libraries(external_ffmpeg
Expand All @@ -54,7 +55,8 @@ else()
)
target_link_libraries(external_ffmpeg
INTERFACE
drm
drm
pthread
)
endif()
endif()
5 changes: 5 additions & 0 deletions external/openal/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,11 @@ else()
INTERFACE
openal
)
target_link_libraries(external_openal
INTERFACE
${CMAKE_DL_LIBS}
pthread
)
endif()

if (NOT DESKTOP_APP_USE_PACKAGED)
Expand Down
7 changes: 6 additions & 1 deletion external/openssl/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,11 @@ else()
$<TARGET_FILE:desktop-app::linux_glibc_wraps>
)
endif()
target_link_libraries(external_openssl INTERFACE pthread)

target_link_libraries(external_openssl
INTERFACE
${CMAKE_DL_LIBS}
pthread
)
endif()
endif()
7 changes: 7 additions & 0 deletions external/rlottie/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,13 @@ else()
${rlottie_loc}/src/vector/freetype
)

if (LINUX)
target_link_libraries(external_rlottie
PUBLIC
pthread
)
endif()

if (WIN32)
target_compile_options(external_rlottie
PRIVATE
Expand Down

0 comments on commit 3194d88

Please sign in to comment.