mirror of
https://github.com/UltraCoderRU/libwebrtc.git
synced 2026-01-28 11:15:13 +00:00
is_debug value depends of the CMAKE_BUILD_TYPE variable
This commit is contained in:
parent
9bf16c0940
commit
fc4badad3d
1 changed files with 4 additions and 0 deletions
|
|
@ -117,6 +117,10 @@ endif (LIBRARY_TYPE STREQUAL STATIC)
|
|||
|
||||
if (MSVC OR XCODE)
|
||||
set(_GEN_ARGS ${_GEN_ARGS} is_debug=$<$<CONFIG:Debug>:true>$<$<CONFIG:Release>:false>)
|
||||
elseif (CMAKE_BUILD_TYPE MATCHES Debug)
|
||||
set(_GEN_ARGS ${_GEN_ARGS} is_debug=true)
|
||||
else (MSVC OR XCODE)
|
||||
set(_GEN_ARGS ${_GEN_ARGS} is_debug=false)
|
||||
endif (MSVC OR XCODE)
|
||||
|
||||
if (WIN32)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue