diff options
author | Brad King <brad.king@kitware.com> | 2022-10-31 16:02:44 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2022-10-31 16:17:29 (GMT) |
commit | 4d13f472a2ebd09f6f7f3be466e5d000bbeb6908 (patch) | |
tree | 75a2f97c446ab8cbdac02a2c4204b293e7eb0452 /Tests/RunCMake/PrecompileHeaders/PchPrologueEpilogue.cmake | |
parent | 2e65fe92db4ec2869618e863f80f21c825ac9e1c (diff) | |
download | CMake-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.cmake | 5 |
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) |