Set NDEBUG when debug webrtc build is not found
This commit is contained in:
parent
085086856c
commit
c84790f978
1 changed files with 1 additions and 0 deletions
1
external/webrtc/CMakeLists.txt
vendored
1
external/webrtc/CMakeLists.txt
vendored
|
|
@ -65,6 +65,7 @@ endif()
|
|||
|
||||
if (NOT EXISTS ${libs_loc}/tg_owt/out/Debug/${webrtc_lib_prefix}tg_owt${webrtc_lib_suffix})
|
||||
set(webrtc_build_loc ${libs_loc}/tg_owt/out/Release)
|
||||
target_compile_definitions(external_webrtc INTERFACE $<$<CONFIG:Debug>:NDEBUG>)
|
||||
endif()
|
||||
|
||||
target_include_directories(external_webrtc SYSTEM
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue