cmake: move cmake 2.4 compatibility settings on top
This commit is contained in:
parent
dd3e37624b
commit
0ec46b99b9
|
@ -1,8 +1,9 @@
|
||||||
IF(NOT EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/awesomeConfig.cmake)
|
|
||||||
MESSAGE(FATAL "Please provide awesomeConfig.cmake")
|
|
||||||
ENDIF()
|
|
||||||
|
|
||||||
CMAKE_MINIMUM_REQUIRED(VERSION 2.4)
|
CMAKE_MINIMUM_REQUIRED(VERSION 2.4)
|
||||||
|
SET(CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS TRUE)
|
||||||
|
|
||||||
|
IF(NOT EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/awesomeConfig.cmake)
|
||||||
|
MESSAGE(FATAL_ERROR "Please provide awesomeConfig.cmake")
|
||||||
|
ENDIF()
|
||||||
|
|
||||||
INCLUDE(awesomeConfig.cmake)
|
INCLUDE(awesomeConfig.cmake)
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,6 @@ SET(VERSION_PATCH 0)
|
||||||
PROJECT(${PROJECT_AWE_NAME})
|
PROJECT(${PROJECT_AWE_NAME})
|
||||||
|
|
||||||
SET(CMAKE_BUILD_TYPE RELEASE)
|
SET(CMAKE_BUILD_TYPE RELEASE)
|
||||||
SET(CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS TRUE)
|
|
||||||
|
|
||||||
OPTION(WITH_DBUS "build with D-BUS" ON)
|
OPTION(WITH_DBUS "build with D-BUS" ON)
|
||||||
OPTION(WITH_IMLIB2 "build with Imlib2" ON)
|
OPTION(WITH_IMLIB2 "build with Imlib2" ON)
|
||||||
|
|
Loading…
Reference in New Issue