Fixed loose loop construct support and cmake min version

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Félix C. Morency 2008-06-20 08:59:14 -07:00 committed by Julien Danjou
parent 6f89051f8d
commit 77f5fbcc60
2 changed files with 2 additions and 1 deletions

View File

@ -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)

View File

@ -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)