From 5f06b321b2072792d656e7ae5a7533a80019cfc2 Mon Sep 17 00:00:00 2001 From: Adriaan de Groot Date: Thu, 16 Nov 2023 23:23:58 +0100 Subject: [PATCH] CMake: correct copy-paste-o for destination of config files --- CMakeModules/CalamaresAddModuleSubdirectory.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeModules/CalamaresAddModuleSubdirectory.cmake b/CMakeModules/CalamaresAddModuleSubdirectory.cmake index 61f3a1154..964dac02b 100644 --- a/CMakeModules/CalamaresAddModuleSubdirectory.cmake +++ b/CMakeModules/CalamaresAddModuleSubdirectory.cmake @@ -170,7 +170,7 @@ function( _calamares_add_module_subdirectory_impl ) if (INSTALL_CONFIG) message(" ${Green}CONFIGURATION_FILES:${ColorReset} ${MODULE_CONFIG_FILES} => [Build directory and ${MODULE_DATA_DESTINATION}]") foreach(_cf ${MODULE_CONFIG_FILES}) - install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${SUBDIRECTORY}/${_cf} DESTINATION ${MODULE_DESTINATION}) + install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${SUBDIRECTORY}/${_cf} DESTINATION ${MODULE_DATA_DESTINATION}) endforeach() else() message(" ${Green}CONFIGURATION_FILES:${ColorReset} ${MODULE_CONFIG_FILES} => [Build directory only]")