Tests: Do not enable languages in all cases of RunCMake.CMP0037

This commit is contained in:
Brad King 2017-10-26 11:47:14 -04:00
parent 2d0b3e6ed2
commit 103501c4e0
8 changed files with 8 additions and 8 deletions

View File

@ -1,4 +1,4 @@
enable_language(CXX)
cmake_policy(SET CMP0037 NEW)
add_library("lib:colon" empty.cpp)

View File

@ -1,4 +1,4 @@
enable_language(CXX)
cmake_policy(SET CMP0037 NEW)
add_library(all empty.cpp)

View File

@ -1,4 +1,4 @@
enable_language(CXX)
cmake_policy(SET CMP0037 NEW)
add_library("lib with spaces" empty.cpp)

View File

@ -1,4 +1,4 @@
enable_language(CXX)
cmake_policy(SET CMP0037 OLD)
add_library(all empty.cpp)

View File

@ -1,4 +1,4 @@
enable_language(CXX)
cmake_policy(SET CMP0037 OLD)
add_library("lib with spaces" empty.cpp)

View File

@ -1,4 +1,4 @@
enable_language(CXX)
add_library("lib:colon" empty.cpp)
add_executable("exe:colon" empty.cpp)
add_custom_target("custom:colon")

View File

@ -1,4 +1,4 @@
enable_language(CXX)
add_library("lib with spaces" empty.cpp)
add_executable("exe with spaces" empty.cpp)
add_custom_target("custom with spaces")

View File

@ -1,3 +1,3 @@
cmake_minimum_required(VERSION 2.8.4)
project(${RunCMake_TEST} CXX)
project(${RunCMake_TEST} NONE)
include(${RunCMake_TEST}.cmake)