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:
@@ -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 )
|
||||
|
||||
Reference in New Issue
Block a user