From 707131cc1a227838f04fd53c1df63c63ce0b171f Mon Sep 17 00:00:00 2001 From: Reinhard Date: Mon, 12 Aug 2024 21:39:12 +0200 Subject: [PATCH] Fix CPack license resource file: "LGPL-3.0.txt" could not be found. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 011e7ab..4ae77dc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -50,7 +50,7 @@ endif(enable-website) if(MFrontGalleryDevelopmentVersion) set(CPACK_PACKAGE_VERSION_PATCH "${CMAKE_PROJECT_VERSION_PATCH}-dev") endif() -set(CPACK_RESOURCE_FILE_LICENSE "LGPL-3.0.txt") +set(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_SOURCE_DIR}/LGPL-3.0.txt") set(CPACK_VERBATIM_VARIABLES YES) if(NOT CPACK_SOURCE_GENERATOR) set(CPACK_SOURCE_GENERATOR "TGZ")