1
0
Fork 0

Set NDEBUG when debug webrtc build is not found

This commit is contained in:
Ilya Fedin 2022-12-16 10:23:28 +04:00 committed by John Preston
parent 085086856c
commit c84790f978

View file

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