CMake: correct copy-paste-o for destination of config files
This commit is contained in:
parent
146f549552
commit
5f06b321b2
@ -170,7 +170,7 @@ function( _calamares_add_module_subdirectory_impl )
|
|||||||
if (INSTALL_CONFIG)
|
if (INSTALL_CONFIG)
|
||||||
message(" ${Green}CONFIGURATION_FILES:${ColorReset} ${MODULE_CONFIG_FILES} => [Build directory and ${MODULE_DATA_DESTINATION}]")
|
message(" ${Green}CONFIGURATION_FILES:${ColorReset} ${MODULE_CONFIG_FILES} => [Build directory and ${MODULE_DATA_DESTINATION}]")
|
||||||
foreach(_cf ${MODULE_CONFIG_FILES})
|
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()
|
endforeach()
|
||||||
else()
|
else()
|
||||||
message(" ${Green}CONFIGURATION_FILES:${ColorReset} ${MODULE_CONFIG_FILES} => [Build directory only]")
|
message(" ${Green}CONFIGURATION_FILES:${ColorReset} ${MODULE_CONFIG_FILES} => [Build directory only]")
|
||||||
|
Loading…
Reference in New Issue
Block a user