Sign in
fuchsia
/
third_party
/
github.com
/
Kitware
/
CMake
/
4dbc9dfc7a1458878a26e1f0cec1a382e14bf48a
/
.
/
Tests
/
RunCMake
/
CMP0069
/
CMP0069-NEW-compiler.cmake
blob: ecb197b393ab8b44ef064db2c8e8983ad14fb395 [
file
] [
log
] [
blame
]
cmake_policy
(
SET CMP0069 NEW
)
set
(
_CMAKE_CXX_IPO_SUPPORTED_BY_CMAKE YES
)
set
(
_CMAKE_CXX_IPO_MAY_BE_SUPPORTED_BY_COMPILER NO
)
add_executable
(
foo main
.
cpp
)
set_target_properties
(
foo PROPERTIES INTERPROCEDURAL_OPTIMIZATION TRUE
)