From 4c3251ec645c8b71820dab7e51e612e5919d4e75 Mon Sep 17 00:00:00 2001 From: manuel Date: Sun, 23 Jul 2017 16:59:43 +0200 Subject: sync with upstream --- cmake/scripts/common/Macros.cmake | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'cmake/scripts/common/Macros.cmake') diff --git a/cmake/scripts/common/Macros.cmake b/cmake/scripts/common/Macros.cmake index 4b6f890..8bee3da 100644 --- a/cmake/scripts/common/Macros.cmake +++ b/cmake/scripts/common/Macros.cmake @@ -706,13 +706,13 @@ macro(find_addon_xml_in_files) foreach(loop_var ${ADDON_FILES}) if(loop_var MATCHES "addon.xml.in") string(REPLACE "addon.xml.in" "addon.xml" loop_var ${loop_var}) - endif() - list(GET loop_var 0 file_name) - string(REPLACE "${CORE_SOURCE_DIR}/" "" file_name ${file_name}) - list(APPEND ADDON_INSTALL_DATA "${file_name}") + list(GET loop_var 0 file_name) + string(REPLACE "${CORE_SOURCE_DIR}/" "" file_name ${file_name}) + list(APPEND ADDON_INSTALL_DATA "${file_name}") - unset(file_name) + unset(file_name) + endif() endforeach() unset(xml_name) endforeach() -- cgit v1.2.3