summaryrefslogtreecommitdiff
path: root/Modules/CheckIPOSupported.cmake
diff options
context:
space:
mode:
authorRuslan Baratov <ruslan_baratov@yahoo.com>2017-04-04 12:38:40 +0800
committerBrad King <brad.king@kitware.com>2017-04-04 09:35:31 -0400
commitc92fd25661c08ff991a2482b8a5e42c8490cb3c2 (patch)
tree4bc3002608c9e6f1f80f530dd4705636f1e91141 /Modules/CheckIPOSupported.cmake
parent4b9e15fb47fcc85f92031a4220d37addb3207726 (diff)
downloadcmake-c92fd25661c08ff991a2482b8a5e42c8490cb3c2.tar.gz
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 31c1bd321b..f0e476a42a 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}")