mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-25 04:09:36 +03:00
For policy-specific tests, use the version before the policy was introduced. Otherwise, use 3.5 where possible. Also, remove `cmake_minimum_required()` and `project()` calls from individual cases where they are handled by `CMakeLists.txt`.
5 lines
111 B
CMake
5 lines
111 B
CMake
enable_language(C)
|
|
add_executable(hello hello.c)
|
|
include(CheckOutput.cmake)
|
|
include(CheckNoPrefixSubDir.cmake)
|