From 618cc966b0b41631d5bd921de2dd1a467538f3fb Mon Sep 17 00:00:00 2001 From: Leland Lucius Date: Fri, 28 Feb 2020 15:07:09 -0600 Subject: [PATCH] Fix bug #2333 It wasn't using the "AQUA" theme. --- src/CMakeLists.txt | 3 +++ src/audacity_config.h.in | 2 ++ 2 files changed, 5 insertions(+) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 4f64d3b0c..e7a3076ce 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -1231,6 +1231,9 @@ elseif( CMAKE_SYSTEM_NAME MATCHES "Darwin" ) "-framework CoreAudioKit" ) + # Use the Aqua theme + set( USE_AQUA_THEME 1 ) + # Create the config file set( HAVE_VISIBILITY 1 ) configure_file( audacity_config.h.in private/configmac.h ) diff --git a/src/audacity_config.h.in b/src/audacity_config.h.in index 49d1c3167..29b7a0050 100755 --- a/src/audacity_config.h.in +++ b/src/audacity_config.h.in @@ -108,3 +108,5 @@ /* We're using cygwin */ #cmakedefine __CYGWIN__ 1 +/* Use the Aqua theme on Mac */ +#cmakedefine USE_AQUA_THEME 1