summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/PrecompileHeaders/PchPrologueEpilogue.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/PchPrologueEpilogue.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/PchPrologueEpilogue.cmake')
-rw-r--r--Tests/RunCMake/PrecompileHeaders/PchPrologueEpilogue.cmake5
1 files changed, 2 insertions, 3 deletions
diff --git a/Tests/RunCMake/PrecompileHeaders/PchPrologueEpilogue.cmake b/Tests/RunCMake/PrecompileHeaders/PchPrologueEpilogue.cmake
index 3e27620..988c4c6 100644
--- a/Tests/RunCMake/PrecompileHeaders/PchPrologueEpilogue.cmake
+++ b/Tests/RunCMake/PrecompileHeaders/PchPrologueEpilogue.cmake
@@ -1,6 +1,5 @@
-cmake_minimum_required(VERSION 3.15)
-
-project(PchPrologueEpilogue)
+enable_language(C)
+enable_language(CXX)
set(CMAKE_INCLUDE_CURRENT_DIR ON)