summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/PrecompileHeaders/PchReuseFromSubdir.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-10-31 16:02:44 (GMT)
committerBrad King <brad.king@kitware.com>2022-10-31 16:17:29 (GMT)
commit4d13f472a2ebd09f6f7f3be466e5d000bbeb6908 (patch)
tree75a2f97c446ab8cbdac02a2c4204b293e7eb0452 /Tests/RunCMake/PrecompileHeaders/PchReuseFromSubdir.cmake
parent2e65fe92db4ec2869618e863f80f21c825ac9e1c (diff)
downloadCMake-4d13f472a2ebd09f6f7f3be466e5d000bbeb6908.zip
CMake-4d13f472a2ebd09f6f7f3be466e5d000bbeb6908.tar.gz
CMake-4d13f472a2ebd09f6f7f3be466e5d000bbeb6908.tar.bz2
Tests: Drop redundant project init from RunCMake.PrecompileHeaders cases
The `CMakeLists.txt` file already calls `cmake_minimum_required` and `project` before including each case's code.
Diffstat (limited to 'Tests/RunCMake/PrecompileHeaders/PchReuseFromSubdir.cmake')
-rw-r--r--Tests/RunCMake/PrecompileHeaders/PchReuseFromSubdir.cmake3
1 files changed, 1 insertions, 2 deletions
diff --git a/Tests/RunCMake/PrecompileHeaders/PchReuseFromSubdir.cmake b/Tests/RunCMake/PrecompileHeaders/PchReuseFromSubdir.cmake
index fff74dc..fefb4ee 100644
--- a/Tests/RunCMake/PrecompileHeaders/PchReuseFromSubdir.cmake
+++ b/Tests/RunCMake/PrecompileHeaders/PchReuseFromSubdir.cmake
@@ -1,5 +1,4 @@
-cmake_minimum_required(VERSION 3.15)
-project(PchReuseFromSubdir C)
+enable_language(C)
add_library(empty empty.c)
target_precompile_headers(empty PUBLIC