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:
parent
ae62a1cd35
commit
c213eb9cbf
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue