From 77f5fbcc60bf7c3a55107843170a3197bc0f5c4e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20C=2E=20Morency?= Date: Fri, 20 Jun 2008 08:59:14 -0700 Subject: [PATCH] Fixed loose loop construct support and cmake min version Signed-off-by: Julien Danjou --- CMakeLists.txt | 2 +- awesomeConfig.cmake | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index c7d4b3df..94fa85f9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,7 +2,7 @@ IF(NOT EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/awesomeConfig.cmake) MESSAGE(FATAL "Please provide awesomeConfig.cmake") ENDIF() -CMAKE_MINIMUM_REQUIRED(VERSION 2.6) +CMAKE_MINIMUM_REQUIRED(VERSION 2.4) INCLUDE(awesomeConfig.cmake) diff --git a/awesomeConfig.cmake b/awesomeConfig.cmake index d2616c56..65c75e70 100644 --- a/awesomeConfig.cmake +++ b/awesomeConfig.cmake @@ -8,6 +8,7 @@ SET(VERSION_PATCH 0) PROJECT(${PROJECT_AWE_NAME}) SET(CMAKE_BUILD_TYPE RELEASE) +SET(CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS TRUE) OPTION(WITH_DBUS "build with D-BUS" ON) OPTION(WITH_IMLIB "build with Imlib" ON)