diff options
author | Ruslan Baratov <ruslan_baratov@yahoo.com> | 2017-04-02 22:29:31 +0800 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-04-03 14:10:50 -0400 |
commit | 73934188446d2f8b149d5458008e1b267b37c3d9 (patch) | |
tree | bc3b6132bb39966d789b92d3f75cd10ba4f29d02 /Modules/CMakeCXXCompiler.cmake.in | |
parent | b2feb958ac29d37bfba419043250939c90d36dca (diff) | |
download | cmake-73934188446d2f8b149d5458008e1b267b37c3d9.tar.gz |
Rename CMAKE_GCC_{AR,RANLIB} to CMAKE_LANG_COMPILER_{AR,RANLIB}
The variables recently added by commit b9d36826 (Add 'CMAKE_GCC_AR' and
'CMAKE_GCC_RANLIB' variables, 2017-03-08) are more appropriately managed
with language-specific names rather than toolchain-specific names.
Diffstat (limited to 'Modules/CMakeCXXCompiler.cmake.in')
-rw-r--r-- | Modules/CMakeCXXCompiler.cmake.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/CMakeCXXCompiler.cmake.in b/Modules/CMakeCXXCompiler.cmake.in index 27c88814d5..6298189852 100644 --- a/Modules/CMakeCXXCompiler.cmake.in +++ b/Modules/CMakeCXXCompiler.cmake.in @@ -15,9 +15,9 @@ set(CMAKE_CXX_SIMULATE_ID "@CMAKE_CXX_SIMULATE_ID@") set(CMAKE_CXX_SIMULATE_VERSION "@CMAKE_CXX_SIMULATE_VERSION@") @SET_MSVC_CXX_ARCHITECTURE_ID@ set(CMAKE_AR "@CMAKE_AR@") -set(CMAKE_GCC_AR "@CMAKE_GCC_AR@") +set(CMAKE_CXX_COMPILER_AR "@CMAKE_CXX_COMPILER_AR@") set(CMAKE_RANLIB "@CMAKE_RANLIB@") -set(CMAKE_GCC_RANLIB "@CMAKE_GCC_RANLIB@") +set(CMAKE_CXX_COMPILER_RANLIB "@CMAKE_CXX_COMPILER_RANLIB@") set(CMAKE_LINKER "@CMAKE_LINKER@") set(CMAKE_COMPILER_IS_GNUCXX @CMAKE_COMPILER_IS_GNUCXX@) set(CMAKE_CXX_COMPILER_LOADED 1) |