build: set minimal cmake version to 2.4.7
FindPkgConfig is implemented in cmake-2.4.7. it doesn't work with cmake-2.4.6. Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
41b4214d18
commit
ec71a73072
|
@ -1,4 +1,4 @@
|
||||||
CMAKE_MINIMUM_REQUIRED(VERSION 2.4)
|
CMAKE_MINIMUM_REQUIRED(VERSION 2.4.7)
|
||||||
SET(CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS TRUE)
|
SET(CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS TRUE)
|
||||||
|
|
||||||
IF(NOT EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/awesomeConfig.cmake)
|
IF(NOT EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/awesomeConfig.cmake)
|
||||||
|
|
Loading…
Reference in New Issue