mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-05 21:31:08 -06: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`.
6 lines
117 B
CMake
6 lines
117 B
CMake
enable_language(C)
|
|
|
|
add_library(a a.c)
|
|
|
|
set_property(TARGET a PROPERTY MANUALLY_ADDED_DEPENDENCIES DEPENDENCIES foo)
|