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.
This commit is contained in:
Brad King 2011-12-08 13:28:14 -05:00
parent ae62a1cd35
commit c213eb9cbf
1 changed files with 1 additions and 1 deletions

View File

@ -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()