summaryrefslogtreecommitdiffstats
path: root/Modules/CheckIPOSupported.cmake
diff options
context:
space:
mode:
authorRuslan Baratov <ruslan_baratov@yahoo.com>2017-04-04 04:38:40 (GMT)
committerBrad King <brad.king@kitware.com>2017-04-04 13:35:31 (GMT)
commitc92fd25661c08ff991a2482b8a5e42c8490cb3c2 (patch)
tree4bc3002608c9e6f1f80f530dd4705636f1e91141 /Modules/CheckIPOSupported.cmake
parent4b9e15fb47fcc85f92031a4220d37addb3207726 (diff)
downloadCMake-c92fd25661c08ff991a2482b8a5e42c8490cb3c2.zip
CMake-c92fd25661c08ff991a2482b8a5e42c8490cb3c2.tar.gz
CMake-c92fd25661c08ff991a2482b8a5e42c8490cb3c2.tar.bz2
CheckIPOSupported: Move '_CMakeLTOTest-*' under 'CMakeFiles'
Diffstat (limited to 'Modules/CheckIPOSupported.cmake')
-rw-r--r--Modules/CheckIPOSupported.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/CheckIPOSupported.cmake b/Modules/CheckIPOSupported.cmake
index 31c1bd3..f0e476a 100644
--- a/Modules/CheckIPOSupported.cmake
+++ b/Modules/CheckIPOSupported.cmake
@@ -67,7 +67,7 @@ endmacro()
# Run IPO/LTO test
macro(_ipo_run_language_check language)
- set(testdir "${CMAKE_CURRENT_BINARY_DIR}/_CMakeLTOTest-${language}")
+ set(testdir "${CMAKE_CURRENT_BINARY_DIR}/CMakeFiles/_CMakeLTOTest-${language}")
file(REMOVE_RECURSE "${testdir}")
file(MAKE_DIRECTORY "${testdir}")