- fix Windows build - Opus build options conflict + path resolving problem

This commit is contained in:
2026-01-12 17:47:52 +03:00
parent f650eaccb7
commit ceb30d2d2a
2 changed files with 4 additions and 4 deletions

View File

@@ -332,7 +332,7 @@ add_subdirectory(${L}/opus)
# Suppose the subproject defines target "mylib"
if(MSVC)
target_compile_options(opus PRIVATE /O2 /DNDEBUG)
# target_compile_options(opus PRIVATE /O2 /DNDEBUG)
# Optional: enable whole program optimization on MSVC
# target_compile_options(mylib PRIVATE /GL)
# target_link_options(mylib PRIVATE /LTCG)

View File

@@ -11,9 +11,9 @@
#include <map>
#include "libsrtp/include/srtp.h"
#include "HL_Sync.h"
#include "HL_ByteBuffer.h"
#include "HL_Types.h"
#include "helper/HL_Sync.h"
#include "helper/HL_ByteBuffer.h"
#include "helper/HL_Types.h"
#define NAME_SRTP_AES_256_AUTH_80 "AES_CM_256_HMAC_SHA1_80"
#define NAME_SRTP_AES_128_AUTH_80 "AES_CM_128_HMAC_SHA1_80"