summaryrefslogtreecommitdiffstats
path: root/Modules/Platform
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2011-12-08 18:28:14 (GMT)
committerBrad King <brad.king@kitware.com>2011-12-08 18:28:37 (GMT)
commitc213eb9cbf73c2d0ad723f1afb079508a731410f (patch)
tree18c32d32a05420b21ab89f924bd6760299ac7a36 /Modules/Platform
parentae62a1cd35fcd9be8d1beb11c864fbe417de429e (diff)
downloadCMake-c213eb9cbf73c2d0ad723f1afb079508a731410f.zip
CMake-c213eb9cbf73c2d0ad723f1afb079508a731410f.tar.gz
CMake-c213eb9cbf73c2d0ad723f1afb079508a731410f.tar.bz2
Windows-GNU: Remove extra quotes in GNUtoMS rule variable
CMake replaces the <TARGET...> tokens with properly quoted values so we do not need an extra set of quotes around them.
Diffstat (limited to 'Modules/Platform')
-rw-r--r--Modules/Platform/Windows-GNU.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/Platform/Windows-GNU.cmake b/Modules/Platform/Windows-GNU.cmake
index c255d6b..dd47692 100644
--- a/Modules/Platform/Windows-GNU.cmake
+++ b/Modules/Platform/Windows-GNU.cmake
@@ -175,7 +175,7 @@ macro(__windows_compiler_gnu_abi lang)
if(CMAKE_GNUtoMS)
# Teach CMake how to create a MS import library at link time.
set(CMAKE_${lang}_GNUtoMS_RULE " -Wl,--output-def,<TARGET_NAME>.def"
- "<CMAKE_COMMAND> -Dlib=\"${CMAKE_GNUtoMS_LIB}\" -Ddef=\"<TARGET_NAME>.def\" -Ddll=\"<TARGET>\" -Dimp=\"<TARGET_IMPLIB>\" -P \"${CMAKE_ROOT}/Modules/Platform/GNUtoMS_lib.cmake\""
+ "<CMAKE_COMMAND> -Dlib=\"${CMAKE_GNUtoMS_LIB}\" -Ddef=<TARGET_NAME>.def -Ddll=<TARGET> -Dimp=<TARGET_IMPLIB> -P \"${CMAKE_ROOT}/Modules/Platform/GNUtoMS_lib.cmake\""
)
endif()
endmacro()