mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-10-05 04:03:22 +03:00
Tests: Use newer policy settings in RunCMake.install test
In particular, avoid CMP0042 warnings on OS X.
This commit is contained in:
1 parent
a5a5a68572
commit
e86383e135
4 files changed
+4
-3
No files matched your search
@@ -1,4 +1,4 @@
|
||||
|
||||
cmake_policy(VERSION 3.2)
|
||||
cmake_policy(SET CMP0062 NEW)
|
||||
|
||||
add_library(iface INTERFACE)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
|
||||
cmake_policy(VERSION 3.2)
|
||||
cmake_policy(SET CMP0062 OLD)
|
||||
|
||||
add_library(iface INTERFACE)
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
cmake_policy(VERSION 3.2)
|
||||
|
||||
add_library(iface INTERFACE)
|
||||
export(TARGETS iface FILE "${CMAKE_CURRENT_BINARY_DIR}/exported.cmake")
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
cmake_minimum_required(VERSION 2.8.12)
|
||||
cmake_minimum_required(VERSION 3.4)
|
||||
project(${RunCMake_TEST} NONE)
|
||||
include(${RunCMake_TEST}.cmake)
|
||||
Reference in new issue
Block a user