
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
137 B
CMake
5 lines
137 B
CMake
cmake_policy(VERSION 3.2)
|
|
cmake_policy(SET CMP0058 OLD)
|
|
set(byproducts BYPRODUCTS byproduct1a byproduct1b)
|
|
include(CMP0058-common.cmake)
|