[icinga-checkins] icinga.org: icinga2/feature/cmake-4962: Fix compatibility with cmake 2.6.0.

git at icinga.org git at icinga.org
Sun Nov 3 12:22:39 CET 2013


Module: icinga2
Branch: feature/cmake-4962
Commit: 9afc2750988f9e6ae4090fb1b0accc9a9154a0db
URL:    https://git.icinga.org/?p=icinga2.git;a=commit;h=9afc2750988f9e6ae4090fb1b0accc9a9154a0db

Author: Gunnar Beutner <gunnar at beutner.name>
Date:   Sun Nov  3 12:22:37 2013 +0100

Fix compatibility with cmake 2.6.0.

Refs #4962

---

 cmake/BoostTestTargets.cmake |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cmake/BoostTestTargets.cmake b/cmake/BoostTestTargets.cmake
index 7a053d7..f79f506 100644
--- a/cmake/BoostTestTargets.cmake
+++ b/cmake/BoostTestTargets.cmake
@@ -236,7 +236,7 @@ function(add_boost_test _name)
 			set(_test_command ${_target_name})
 		endif()
 
-		if(TESTS AND ( "${Boost_VERSION}" VERSION_GREATER "103799" ))
+		if(TESTS AND "${Boost_VERSION}" VERSION_GREATER "103799")
 			foreach(_test ${TESTS})
 				add_test(NAME
 					${_name}-${_test}





More information about the icinga-checkins mailing list