Fixed loose loop construct support and cmake min version
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
6f89051f8d
commit
77f5fbcc60
|
@ -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)
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue