From e48dbd94f9ef485adff806ea6844618336ee6be6 Mon Sep 17 00:00:00 2001 From: Leland Lucius Date: Mon, 1 Jun 2020 17:16:03 -0500 Subject: [PATCH] Add path to allow testing locales when using cmake --- src/AudacityApp.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/AudacityApp.cpp b/src/AudacityApp.cpp index 5eeda868d..c6dc79d59 100644 --- a/src/AudacityApp.cpp +++ b/src/AudacityApp.cpp @@ -1180,6 +1180,10 @@ bool AudacityApp::OnInit() audacityPathList); #endif //AUDACITY_NAME + FileNames::AddUniquePathToPathList(wxString::Format(wxT("%s/locale"), + progPath), + audacityPathList); + FileNames::AddUniquePathToPathList(wxString::Format(wxT("%s/share/locale"), wxT(INSTALL_PREFIX)), audacityPathList);