diff options
author | Brad King <brad.king@kitware.com> | 2016-07-01 17:52:10 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-07-01 18:01:41 (GMT) |
commit | 3643390d49b567214f9008091aa0e1f4ebe7782a (patch) | |
tree | e310832801d5fa8af2e33601391685a3b753669c /Modules/CMakeRCInformation.cmake | |
parent | 4c476cc9b2441f7cf36fd87c7c7338c373905678 (diff) | |
download | CMake-3643390d49b567214f9008091aa0e1f4ebe7782a.zip CMake-3643390d49b567214f9008091aa0e1f4ebe7782a.tar.gz CMake-3643390d49b567214f9008091aa0e1f4ebe7782a.tar.bz2 |
Strip CMAKE_<LANG>_FLAGS[_<CONFIG>] initializer whitespace
Diffstat (limited to 'Modules/CMakeRCInformation.cmake')
-rw-r--r-- | Modules/CMakeRCInformation.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/CMakeRCInformation.cmake b/Modules/CMakeRCInformation.cmake index 94abd4b..60276e2 100644 --- a/Modules/CMakeRCInformation.cmake +++ b/Modules/CMakeRCInformation.cmake @@ -28,9 +28,9 @@ set(CMAKE_SYSTEM_AND_RC_COMPILER_INFO_FILE ${CMAKE_ROOT}/Modules/Platform/${CMAKE_SYSTEM_NAME}-${CMAKE_BASE_NAME}.cmake) include(Platform/${CMAKE_SYSTEM_NAME}-${CMAKE_BASE_NAME} OPTIONAL) +string(STRIP "$ENV{RCFLAGS} ${CMAKE_RC_FLAGS_INIT}" CMAKE_RC_FLAGS_INIT) - -set (CMAKE_RC_FLAGS "$ENV{RCFLAGS} ${CMAKE_RC_FLAGS_INIT}" CACHE STRING +set (CMAKE_RC_FLAGS "${CMAKE_RC_FLAGS_INIT}" CACHE STRING "Flags for Windows Resource Compiler.") # These are the only types of flags that should be passed to the rc |