Add missed dependencies
This commit is contained in:
parent
4777689c68
commit
3194d883d2
5 changed files with 26 additions and 2 deletions
5
external/auto_updates/xz/CMakeLists.txt
vendored
5
external/auto_updates/xz/CMakeLists.txt
vendored
|
|
@ -33,4 +33,9 @@ else()
|
|||
INTERFACE
|
||||
lzma
|
||||
)
|
||||
|
||||
target_link_libraries(external_xz
|
||||
INTERFACE
|
||||
${CMAKE_DL_LIBS}
|
||||
)
|
||||
endif()
|
||||
|
|
|
|||
4
external/ffmpeg/CMakeLists.txt
vendored
4
external/ffmpeg/CMakeLists.txt
vendored
|
|
@ -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()
|
||||
|
|
|
|||
5
external/openal/CMakeLists.txt
vendored
5
external/openal/CMakeLists.txt
vendored
|
|
@ -38,6 +38,11 @@ else()
|
|||
INTERFACE
|
||||
openal
|
||||
)
|
||||
target_link_libraries(external_openal
|
||||
INTERFACE
|
||||
${CMAKE_DL_LIBS}
|
||||
pthread
|
||||
)
|
||||
endif()
|
||||
|
||||
if (NOT DESKTOP_APP_USE_PACKAGED)
|
||||
|
|
|
|||
7
external/openssl/CMakeLists.txt
vendored
7
external/openssl/CMakeLists.txt
vendored
|
|
@ -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
external/rlottie/CMakeLists.txt
vendored
7
external/rlottie/CMakeLists.txt
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue