summaryrefslogtreecommitdiff
path: root/Modules/CMakeDetermineCCompiler.cmake
diff options
context:
space:
mode:
authorRuslan Baratov <ruslan_baratov@yahoo.com>2017-03-08 11:25:47 +0800
committerRuslan Baratov <ruslan_baratov@yahoo.com>2017-03-09 04:28:01 +0800
commitb9d36826c5676bf3d0bb55fb47c6ce62f4f3470d (patch)
tree1f4f75b27fcc1d51852a7909e34ddbe22b95c955 /Modules/CMakeDetermineCCompiler.cmake
parent52d39264b49c18f6f1e98a2348e69cd679e389bc (diff)
downloadcmake-b9d36826c5676bf3d0bb55fb47c6ce62f4f3470d.tar.gz
Add 'CMAKE_GCC_AR' and 'CMAKE_GCC_RANLIB' variables
Diffstat (limited to 'Modules/CMakeDetermineCCompiler.cmake')
-rw-r--r--Modules/CMakeDetermineCCompiler.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/Modules/CMakeDetermineCCompiler.cmake b/Modules/CMakeDetermineCCompiler.cmake
index 4a315e0d67..5d9850d39a 100644
--- a/Modules/CMakeDetermineCCompiler.cmake
+++ b/Modules/CMakeDetermineCCompiler.cmake
@@ -166,6 +166,10 @@ if (CMAKE_CROSSCOMPILING AND NOT _CMAKE_TOOLCHAIN_PREFIX)
endif ()
include(CMakeFindBinUtils)
+set(_CMAKE_PROCESSING_LANGUAGE "C")
+include(Compiler/${CMAKE_C_COMPILER_ID}-FindBinUtils OPTIONAL)
+unset(_CMAKE_PROCESSING_LANGUAGE)
+
if(MSVC_C_ARCHITECTURE_ID)
set(SET_MSVC_C_ARCHITECTURE_ID
"set(MSVC_C_ARCHITECTURE_ID ${MSVC_C_ARCHITECTURE_ID})")