Browse Source

Tests/RunCMake/CPack: Bump verify result cmake version

Bumped version to current cmake version so that we always use latest
policies.
Domen Vrankar 10 years ago
parent
commit
105011e08f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Tests/RunCMake/CPack/VerifyResult.cmake

+ 1 - 1
Tests/RunCMake/CPack/VerifyResult.cmake

@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 3.1 FATAL_ERROR)
+cmake_minimum_required(VERSION ${CMAKE_VERSION} FATAL_ERROR)
 
 include("${config_file}")
 include("${src_dir}/${GENERATOR_TYPE}/Helpers.cmake")