summaryrefslogtreecommitdiffstats
path: root/Modules/CMakeDetermineCXXCompiler.cmake
diff options
context:
space:
mode:
authorRuslan Baratov <ruslan_baratov@yahoo.com>2017-03-08 03:25:47 (GMT)
committerRuslan Baratov <ruslan_baratov@yahoo.com>2017-03-08 20:28:01 (GMT)
commitb9d36826c5676bf3d0bb55fb47c6ce62f4f3470d (patch)
tree1f4f75b27fcc1d51852a7909e34ddbe22b95c955 /Modules/CMakeDetermineCXXCompiler.cmake
parent52d39264b49c18f6f1e98a2348e69cd679e389bc (diff)
downloadCMake-b9d36826c5676bf3d0bb55fb47c6ce62f4f3470d.zip
CMake-b9d36826c5676bf3d0bb55fb47c6ce62f4f3470d.tar.gz
CMake-b9d36826c5676bf3d0bb55fb47c6ce62f4f3470d.tar.bz2
Add 'CMAKE_GCC_AR' and 'CMAKE_GCC_RANLIB' variables
Diffstat (limited to 'Modules/CMakeDetermineCXXCompiler.cmake')
-rw-r--r--Modules/CMakeDetermineCXXCompiler.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/Modules/CMakeDetermineCXXCompiler.cmake b/Modules/CMakeDetermineCXXCompiler.cmake
index f2e0bb2..4d85150 100644
--- a/Modules/CMakeDetermineCXXCompiler.cmake
+++ b/Modules/CMakeDetermineCXXCompiler.cmake
@@ -161,6 +161,10 @@ if (CMAKE_CROSSCOMPILING AND NOT _CMAKE_TOOLCHAIN_PREFIX)
endif ()
include(CMakeFindBinUtils)
+set(_CMAKE_PROCESSING_LANGUAGE "CXX")
+include(Compiler/${CMAKE_CXX_COMPILER_ID}-FindBinUtils OPTIONAL)
+unset(_CMAKE_PROCESSING_LANGUAGE)
+
if(MSVC_CXX_ARCHITECTURE_ID)
set(SET_MSVC_CXX_ARCHITECTURE_ID
"set(MSVC_CXX_ARCHITECTURE_ID ${MSVC_CXX_ARCHITECTURE_ID})")