summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt9
1 files changed, 5 insertions, 4 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 4695791b..c629699a 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,6 +1,11 @@
# Andrea Diamantini - adjam7 at gmail dot com
# rekonq project
+# ==================================================================================
+# minimum cmake required (must be first)
+
+cmake_minimum_required(VERSION 2.8.9)
+
PROJECT( rekonq )
# ==================================================================================
@@ -13,10 +18,6 @@ configure_file(${CMAKE_CURRENT_SOURCE_DIR}/config-version.h.cmake ${CMAKE_CURREN
SET(REKONQ_SITE "http://rekonq.kde.org")
-# ==================================================================================
-# minimum cmake required
-
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.9 FATAL_ERROR)
SET(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake ${CMAKE_MODULE_PATH})