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)