Skip to content

Commit

Permalink
cmake: Push cmake version req to 2.9
Browse files Browse the repository at this point in the history
Required for qt5_use_modules.
  • Loading branch information
scztt committed Jun 19, 2014
1 parent 3919944 commit 808013d
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,7 @@ if (CMAKE_SYSTEM_NAME MATCHES "Linux")
set(LINUX 1)
endif()

if (LINUX)
cmake_minimum_required (VERSION 2.8)
else()
cmake_minimum_required (VERSION 2.8.10)
endif()
cmake_minimum_required (VERSION 2.9)

include("SCVersion.txt")
set(PROJECT_VERSION "${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}${PROJECT_VERSION_PATCH}")
Expand Down

0 comments on commit 808013d

Please sign in to comment.