CheckIPOSupported: Move '_CMakeLTOTest-*' under 'CMakeFiles'

This commit is contained in:
Ruslan Baratov 2017-04-04 12:38:40 +08:00 committed by Brad King
parent 4b9e15fb47
commit c92fd25661

View File

@ -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}")