diff options
author | Brad King <brad.king@kitware.com> | 2017-11-30 12:58:09 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2017-11-30 12:58:15 (GMT) |
commit | c2ea729c87cee2fb19d34090ef00e42d12fb59f2 (patch) | |
tree | 2203c034abffb6179a210e2fade6c5ee018b4b88 /Modules/CMakeDetermineSwiftCompiler.cmake | |
parent | 5d43e46ad5e2760f0e149959dc09b1414d54f362 (diff) | |
parent | acb4cb950023be9300699a0220715bebb50306ad (diff) | |
download | CMake-c2ea729c87cee2fb19d34090ef00e42d12fb59f2.zip CMake-c2ea729c87cee2fb19d34090ef00e42d12fb59f2.tar.gz CMake-c2ea729c87cee2fb19d34090ef00e42d12fb59f2.tar.bz2 |
Merge topic 'CMakeFindBinUtils-improve-switch'
acb4cb95 CMakeFindBinUtils: Improve switch between MSVC- and GNU-like tools
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1533
Diffstat (limited to 'Modules/CMakeDetermineSwiftCompiler.cmake')
-rw-r--r-- | Modules/CMakeDetermineSwiftCompiler.cmake | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/CMakeDetermineSwiftCompiler.cmake b/Modules/CMakeDetermineSwiftCompiler.cmake index 2604906..dd02d54 100644 --- a/Modules/CMakeDetermineSwiftCompiler.cmake +++ b/Modules/CMakeDetermineSwiftCompiler.cmake @@ -34,7 +34,9 @@ if (NOT _CMAKE_TOOLCHAIN_LOCATION) get_filename_component(_CMAKE_TOOLCHAIN_LOCATION "${CMAKE_Swift_COMPILER}" PATH) endif () +set(_CMAKE_PROCESSING_LANGUAGE "Swift") include(CMakeFindBinUtils) +unset(_CMAKE_PROCESSING_LANGUAGE) # configure variables set in this file for fast reload later on configure_file(${CMAKE_ROOT}/Modules/CMakeSwiftCompiler.cmake.in |