1
0
Fork 0

Add missed dependencies

This commit is contained in:
Ilya Fedin 2020-05-05 07:02:07 +04:00 committed by John Preston
parent 4777689c68
commit 3194d883d2
5 changed files with 26 additions and 2 deletions

View file

@ -33,4 +33,9 @@ else()
INTERFACE
lzma
)
target_link_libraries(external_xz
INTERFACE
${CMAKE_DL_LIBS}
)
endif()

View file

@ -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
@ -54,7 +55,8 @@ else()
)
target_link_libraries(external_ffmpeg
INTERFACE
drm
drm
pthread
)
endif()
endif()

View file

@ -38,6 +38,11 @@ else()
INTERFACE
openal
)
target_link_libraries(external_openal
INTERFACE
${CMAKE_DL_LIBS}
pthread
)
endif()
if (NOT DESKTOP_APP_USE_PACKAGED)

View file

@ -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()

View file

@ -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