diff options
author | Friedrich W. H. Kossebau <kossebau@kde.org> | 2019-11-04 12:04:56 +0100 |
---|---|---|
committer | Friedrich W. H. Kossebau <kossebau@kde.org> | 2019-11-04 12:04:56 +0100 |
commit | d2810741c2166354d7c95d4101eea52035d4fdf5 (patch) | |
tree | b54424022a8a526d78d3ac0616700374cdfc6e15 /tests/ECMSetupVersionTest/old_version_file_exact | |
parent | fb275fb95d9c41c091fd0ebb9ac4f8edb78eb89b (diff) | |
download | extra-cmake-modules-d2810741c2166354d7c95d4101eea52035d4fdf5.tar.gz extra-cmake-modules-d2810741c2166354d7c95d4101eea52035d4fdf5.tar.bz2 |
Fix ECMSetupVersion tests for old policy with project() wo/ VERSION
With min required cmake version now bumped to 3.5, the policy for CMP0048
needs to be set explicitly to old now to prepare what the tests check.
Fixup for 5ca01895e3c50322f79feeef5054d7f28b164d68
Diffstat (limited to 'tests/ECMSetupVersionTest/old_version_file_exact')
-rw-r--r-- | tests/ECMSetupVersionTest/old_version_file_exact/CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/ECMSetupVersionTest/old_version_file_exact/CMakeLists.txt b/tests/ECMSetupVersionTest/old_version_file_exact/CMakeLists.txt index fbf8e9a0..4c807120 100644 --- a/tests/ECMSetupVersionTest/old_version_file_exact/CMakeLists.txt +++ b/tests/ECMSetupVersionTest/old_version_file_exact/CMakeLists.txt @@ -1,5 +1,6 @@ cmake_minimum_required(VERSION 3.5) +cmake_policy(SET CMP0048 OLD) project(old_version_file_exact) set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/../../../modules) |