Skip to content
Snippets Groups Projects
Commit 993be8b6 authored by Cristian Adam's avatar Cristian Adam :speech_balloon: Committed by Brad King
Browse files

Set CMake Policy CMP0069 to NEW within KWSys

Add LTO flags when `INTERPROCEDURAL_OPTIMIZATION` is enabled.
parent c2f29d2e
No related branches found
No related tags found
No related merge requests found
......@@ -90,6 +90,7 @@ FOREACH(p
CMP0048 # CMake 3.0, Let the project command manage version variables.
CMP0056 # CMake 3.2, Honor link flags in try_compile() source-file signature.
CMP0063 # CMake 3.3, Honor visibility properties for all target types.
CMP0069 # CMake 3.9, INTERPROCEDURAL_OPTIMIZATION is enforced when enabled.
)
IF(POLICY ${p})
CMAKE_POLICY(SET ${p} NEW)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment