CMake/Tests/RunCMake/CMP0069/CMakeLists.txt
Ruslan Baratov 1588a577d1 Add policy CMP0069 to enforce INTERPROCEDURAL_OPTIMIZATION
Previously the `INTERPROCEDURAL_OPTIMIZATION` target property was
honored only for the Intel compiler on Linux and otherwise ignored.  In
order to add support for more compilers incrementally without changing
behavior in the future, add a new policy whose NEW behavior enforces the
`INTERPROCEDURAL_OPTIMIZATION` property.  Add flags for supported
compilers and otherwise produce an error.
2017-03-30 14:56:46 -04:00

4 lines
98 B
CMake

cmake_minimum_required(VERSION 3.8)
project(${RunCMake_TEST} CXX)
include(${RunCMake_TEST}.cmake)