From 79e46741185e4d8268409b21acc2fe5a78d0d694 Mon Sep 17 00:00:00 2001 From: Alex Neundorf Date: Thu, 16 Feb 2012 13:36:42 +0100 Subject: -nicer indentation Alex --- modules/ECMMarkAsTest.cmake | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'modules/ECMMarkAsTest.cmake') 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() -- cgit v1.2.1