diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2005-07-20 15:44:55 -0400 |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2005-07-20 15:44:55 -0400 |
commit | b8b298104b18486e65fd40ae410a327d9e6fe8f3 (patch) | |
tree | d447d9b5cbf635545721fd27046e9520e02f0a4b /Modules/CMakeCXXCompiler.cmake.in | |
parent | ff250565a2316b6bd639fba2db1c8180a8f590db (diff) | |
download | cmake-b8b298104b18486e65fd40ae410a327d9e6fe8f3.tar.gz |
ENH: make sure flags set in CC or CXX environment variables stay with the compiler
Diffstat (limited to 'Modules/CMakeCXXCompiler.cmake.in')
-rw-r--r-- | Modules/CMakeCXXCompiler.cmake.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/CMakeCXXCompiler.cmake.in b/Modules/CMakeCXXCompiler.cmake.in index e87ae14af8..b2463a1872 100644 --- a/Modules/CMakeCXXCompiler.cmake.in +++ b/Modules/CMakeCXXCompiler.cmake.in @@ -1,4 +1,5 @@ SET(CMAKE_CXX_COMPILER "@CMAKE_CXX_COMPILER@") +SET(CMAKE_CXX_COMPILER_ARG1 @CMAKE_CXX_COMPILER_ARG1@) SET(CMAKE_COMPILER_IS_GNUCXX @CMAKE_COMPILER_IS_GNUCXX@) SET(CMAKE_CXX_COMPILER_LOADED 1) SET(CMAKE_COMPILER_IS_GNUCXX_RUN 1) |