summaryrefslogtreecommitdiffstats
path: root/Modules/MacroAddFileDependencies.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/MacroAddFileDependencies.cmake')
-rw-r--r--Modules/MacroAddFileDependencies.cmake6
1 files changed, 3 insertions, 3 deletions
diff --git a/Modules/MacroAddFileDependencies.cmake b/Modules/MacroAddFileDependencies.cmake
index 5ed5b8d..d0605a1 100644
--- a/Modules/MacroAddFileDependencies.cmake
+++ b/Modules/MacroAddFileDependencies.cmake
@@ -24,10 +24,10 @@ macro (MACRO_ADD_FILE_DEPENDENCIES _file)
get_source_file_property(_deps ${_file} OBJECT_DEPENDS)
if (_deps)
set(_deps ${_deps} ${ARGN})
- else (_deps)
+ else ()
set(_deps ${ARGN})
- endif (_deps)
+ endif ()
set_source_files_properties(${_file} PROPERTIES OBJECT_DEPENDS "${_deps}")
-endmacro (MACRO_ADD_FILE_DEPENDENCIES)
+endmacro ()