mirror of
https://github.com/reactos/CMake.git
synced 2025-01-07 03:30:27 +00:00
1588a577d1
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.
8 lines
158 B
CMake
8 lines
158 B
CMake
cmake_minimum_required(VERSION 3.0)
|
|
project(${RunCMake_TEST} NONE)
|
|
|
|
cmake_policy(SET CMP0069 NEW)
|
|
|
|
include(CheckIPOSupported)
|
|
include(${RunCMake_TEST}.cmake)
|