summaryrefslogtreecommitdiffstats
path: root/Modules/CheckIPOSupported/CMakeLists-CXX.txt.in
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/CheckIPOSupported/CMakeLists-CXX.txt.in')
-rw-r--r--Modules/CheckIPOSupported/CMakeLists-CXX.txt.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/CheckIPOSupported/CMakeLists-CXX.txt.in b/Modules/CheckIPOSupported/CMakeLists-CXX.txt.in
index 4b55c70..30993fa 100644
--- a/Modules/CheckIPOSupported/CMakeLists-CXX.txt.in
+++ b/Modules/CheckIPOSupported/CMakeLists-CXX.txt.in
@@ -1,7 +1,7 @@
cmake_minimum_required(VERSION "@CMAKE_VERSION@")
project("@TRY_COMPILE_PROJECT_NAME@" LANGUAGES CXX)
-# TODO: IPO policy
+cmake_policy(SET CMP0069 NEW)
add_library(foo foo.cpp)
add_executable(boo main.cpp)