summaryrefslogtreecommitdiff
path: root/cmake/modules/ProjectSourceGroup.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/modules/ProjectSourceGroup.cmake')
-rw-r--r--cmake/modules/ProjectSourceGroup.cmake6
1 files changed, 3 insertions, 3 deletions
diff --git a/cmake/modules/ProjectSourceGroup.cmake b/cmake/modules/ProjectSourceGroup.cmake
index a9b3e0ad..9cfec3d9 100644
--- a/cmake/modules/ProjectSourceGroup.cmake
+++ b/cmake/modules/ProjectSourceGroup.cmake
@@ -12,7 +12,7 @@ macro(project_source_group mode sources headers)
else(${mode} MATCHES "flat")
if(NOT ${mode} MATCHES "split")
source_group("${mode}" FILES ${${sources}} ${${headers}})
- endif(NOT ${mode} MATCHES "split")
- endif(${mode} MATCHES "flat")
-endmacro(project_source_group mode sources headers)
+ endif()
+ endif()
+endmacro()