From c58f58250581febdfb432b6de52bf1085e71e413 Mon Sep 17 00:00:00 2001 From: Thanatomanic <6567747+Thanatomanic@users.noreply.github.com> Date: Thu, 18 Aug 2022 20:58:50 +0200 Subject: [PATCH] Minor license path fixes (#6551) * Fix CMakeLists * Fix splash.cc --- CMakeLists.txt | 2 +- rtgui/splash.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0a55ca6d5..23f53a99a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -725,7 +725,7 @@ add_custom_target( # End generating AboutThisBuild.txt install(FILES AUTHORS.txt DESTINATION "${CREDITSDIR}") -install(FILES LICENSE.txt DESTINATION "${LICENCEDIR}") +install(FILES LICENSE DESTINATION "${LICENCEDIR}") install(FILES "${CMAKE_BINARY_DIR}/AboutThisBuild.txt" DESTINATION "${CREDITSDIR}") install( diff --git a/rtgui/splash.cc b/rtgui/splash.cc index 7ae5bf4d7..42b276a2e 100644 --- a/rtgui/splash.cc +++ b/rtgui/splash.cc @@ -178,7 +178,7 @@ Splash::Splash (Gtk::Window& parent) : Gtk::Dialog(M("GENERAL_ABOUT"), parent, t } // Tab 4: the license - std::string licenseFileName = Glib::build_filename (licensePath, "LICENSE.txt"); + std::string licenseFileName = Glib::build_filename (licensePath, "LICENSE"); if ( Glib::file_test(licenseFileName, (Glib::FILE_TEST_EXISTS)) ) { FILE *f = g_fopen (licenseFileName.c_str (), "rt");