summaryrefslogtreecommitdiffstats
path: root/Modules/AddFileDependencies.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/AddFileDependencies.cmake')
-rw-r--r--Modules/AddFileDependencies.cmake6
1 files changed, 3 insertions, 3 deletions
diff --git a/Modules/AddFileDependencies.cmake b/Modules/AddFileDependencies.cmake
index af7f42f..e88025c 100644
--- a/Modules/AddFileDependencies.cmake
+++ b/Modules/AddFileDependencies.cmake
@@ -20,10 +20,10 @@ 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(ADD_FILE_DEPENDENCIES)
+endmacro()