diff options
| author | Alex Neundorf <neundorf@kde.org> | 2012-02-16 13:36:42 +0100 | 
|---|---|---|
| committer | Alex Neundorf <neundorf@kde.org> | 2012-02-16 13:36:42 +0100 | 
| commit | 79e46741185e4d8268409b21acc2fe5a78d0d694 (patch) | |
| tree | 8e442f4a903b68d01e41689d0aaea5d2705e0b73 /modules/ECMMarkAsTest.cmake | |
| parent | 9f534281b31835f6a55ab26d64c5d1e8201cc88c (diff) | |
| download | extra-cmake-modules-79e46741185e4d8268409b21acc2fe5a78d0d694.tar.gz extra-cmake-modules-79e46741185e4d8268409b21acc2fe5a78d0d694.tar.bz2 | |
-nicer indentation
Alex
Diffstat (limited to 'modules/ECMMarkAsTest.cmake')
| -rw-r--r-- | modules/ECMMarkAsTest.cmake | 16 | 
1 files changed, 8 insertions, 8 deletions
| diff --git a/modules/ECMMarkAsTest.cmake b/modules/ECMMarkAsTest.cmake index 5d359a61..4ab88160 100644 --- a/modules/ECMMarkAsTest.cmake +++ b/modules/ECMMarkAsTest.cmake @@ -12,20 +12,20 @@  # all tests by invoking the 'buildtests' target.  if (NOT BUILD_TESTING) -    get_property(_buildtestsAdded GLOBAL PROPERTY BUILDTESTS_ADDED) -    if(NOT _buildtestsAdded) -        add_custom_target(buildtests) -        set_property(GLOBAL PROPERTY BUILDTESTS_ADDED TRUE) -    endif() +  get_property(_buildtestsAdded GLOBAL PROPERTY BUILDTESTS_ADDED) +  if(NOT _buildtestsAdded) +    add_custom_target(buildtests) +    set_property(GLOBAL PROPERTY BUILDTESTS_ADDED TRUE) +  endif()  endif()  function(ecm_mark_as_test)    if (NOT BUILD_TESTING)      foreach(_target ${ARGN})        set_target_properties(${_target} -        PROPERTIES -        EXCLUDE_FROM_ALL 1 -      ) +                              PROPERTIES +                              EXCLUDE_FROM_ALL TRUE +                           )        add_dependencies(buildtests ${_target})      endforeach()    endif() | 
