diff --git a/cmake-proxies/FileDialog/CMakeLists.txt b/cmake-proxies/FileDialog/CMakeLists.txt index bfb96758c..2b22a3f28 100644 --- a/cmake-proxies/FileDialog/CMakeLists.txt +++ b/cmake-proxies/FileDialog/CMakeLists.txt @@ -18,6 +18,7 @@ list( APPEND INCLUDES list( APPEND DEFINES PRIVATE + wxDEBUG_LEVEL=0 $<$:__WIN32__> ) diff --git a/cmake-proxies/mod-nyq-bench/CMakeLists.txt b/cmake-proxies/mod-nyq-bench/CMakeLists.txt index afc4c11ba..eb0d774ef 100644 --- a/cmake-proxies/mod-nyq-bench/CMakeLists.txt +++ b/cmake-proxies/mod-nyq-bench/CMakeLists.txt @@ -19,6 +19,11 @@ list( APPEND INCLUDES ${TARGET_ROOT} ) +list( APPEND DEFINES + PRIVATE + wxDEBUG_LEVEL=0 +) + list( APPEND LIBRARIES PRIVATE Audacity @@ -36,6 +41,7 @@ set_target_properties( ${TARGET} organize_source( "${TARGET_ROOT}" "" "${SOURCES}" ) target_sources( ${TARGET} PRIVATE ${SOURCES} ) +target_compile_definitions( ${TARGET} PRIVATE ${DEFINES} ) target_include_directories( ${TARGET} PRIVATE ${INCLUDES} ) target_link_libraries( ${TARGET} PRIVATE ${LIBRARIES} ) diff --git a/cmake-proxies/mod-script-pipe/CMakeLists.txt b/cmake-proxies/mod-script-pipe/CMakeLists.txt index ba98f1583..1dc81585f 100644 --- a/cmake-proxies/mod-script-pipe/CMakeLists.txt +++ b/cmake-proxies/mod-script-pipe/CMakeLists.txt @@ -22,6 +22,7 @@ list( APPEND INCLUDES list( APPEND DEFINES PRIVATE BUILDING_SCRIPT_PIPE + wxDEBUG_LEVEL=0 ) list( APPEND LIBRARIES