1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-27 15:50:10 +01:00

Fix debug/release mismatch

Visual Studio doesn't like mixing debug and non-debug code.
This commit is contained in:
Leland Lucius
2020-02-06 23:31:28 -06:00
parent 70a67c51d2
commit c2888302fd
3 changed files with 2 additions and 8 deletions

View File

@@ -119,12 +119,6 @@ function( addlib dir name symbol required check ) #packages )
# Set the folder (for the IDEs) for each one
foreach( target ${targets} )
# Add "global" defines
set( DEFINES
NDEBUG
)
target_compile_definitions( ${TARGET} PRIVATE ${DEFINES} )
# Skip interface libraries since they don't have any source to
# present in the IDEs
get_target_property( type "${target}" TYPE )