diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 93dc50c821cd59b5be4fa74cc4c8e3fee161cfcb..bf6519cd7a059b81aa3f9f7a71ba658e1a965357 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -1250,7 +1258,7 @@ elseif( CMAKE_SYSTEM_NAME MATCHES "Darwin" )
    configure_file( audacity_config.h.in private/configmac.h )
 
    # Copy the wxWidgets libraries into the bundle
-   if( "${CMAKE_GENERATOR}" MATCHES "Xcode" )
+#    if( "${CMAKE_GENERATOR}" MATCHES "Xcode" )
       add_custom_command(
          TARGET
             ${TARGET}
@@ -1258,7 +1266,7 @@ elseif( CMAKE_SYSTEM_NAME MATCHES "Darwin" )
             sh -c "TARGET_BUILD_DIR=${_DEST} EXECUTABLE_PATH=MacOS/${AUDACITY_NAME} FRAMEWORKS_FOLDER_PATH=Frameworks ${topdir}/mac/scripts/install_wxlibs.sh"
          POST_BUILD
       )
-   endif()
+#    endif()
 
    # Define the Wrapper target
    set( WRAPPER_ROOT "${TARGET_ROOT}/../mac" )
