summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRolf Eike Beer <kde@opensource.sf-tec.de>2016-06-03 20:45:01 (GMT)
committerRolf Eike Beer <kde@opensource.sf-tec.de>2016-06-03 20:45:01 (GMT)
commit9f47c3acaaa6eeed02246b7e3d15c306f86384c9 (patch)
tree7f96a90da87e070bf6e995f35998602d88a51077
parent7232885a3b8b7d3d1510641568b79754a7f14281 (diff)
drop CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS code
This isn't needed since 2.6.0 anymore.
-rw-r--r--cmake/FindGpgme.cmake6
1 files changed, 0 insertions, 6 deletions
diff --git a/cmake/FindGpgme.cmake b/cmake/FindGpgme.cmake
index 8656b9f..d2068e9 100644
--- a/cmake/FindGpgme.cmake
+++ b/cmake/FindGpgme.cmake
@@ -27,10 +27,6 @@
# Any changes here likely apply there, too.
#
-# do away with crappy condition repetition on else/endfoo
-set( CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS_gpgme_saved ${CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS} )
-set( CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS true )
-
#if this is built-in, please replace, if it isn't, export into a MacroToBool.cmake of it's own
macro( macro_bool_to_bool FOUND_VAR )
foreach( _current_VAR ${ARGN} )
@@ -381,5 +377,3 @@ endif()
set_package_properties(Gpgme PROPERTIES
DESCRIPTION "The GnuPG Made Easy (GPGME) library)"
URL ${_gpgme_homepage})
-
-set( CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS_gpgme_saved )