- fix Windows build

This commit is contained in:
2025-06-02 10:18:14 +03:00
parent 83373cb586
commit 474256bc88
3 changed files with 6 additions and 4 deletions

View File

@@ -14,3 +14,5 @@ target_include_directories(evs_codec PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/basic_o
${CMAKE_CURRENT_SOURCE_DIR}/lib_enc
${CMAKE_CURRENT_SOURCE_DIR}/lib_dec
${CMAKE_CURRENT_SOURCE_DIR}/lib_com)
set_property(TARGET evs_codec PROPERTY MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>")

View File

@@ -256,6 +256,8 @@ endif()
add_library(opus ${opus_headers} ${opus_sources} ${opus_sources_float} ${Opus_PUBLIC_HEADER})
add_library(Opus::opus ALIAS opus)
set_property(TARGET opus PROPERTY MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>")
get_library_version(OPUS_LIBRARY_VERSION OPUS_LIBRARY_VERSION_MAJOR)
message(DEBUG "Opus library version: ${OPUS_LIBRARY_VERSION}")