From c213eb9cbf73c2d0ad723f1afb079508a731410f Mon Sep 17 00:00:00 2001 From: Brad King Date: Thu, 8 Dec 2011 13:28:14 -0500 Subject: Windows-GNU: Remove extra quotes in GNUtoMS rule variable CMake replaces the tokens with properly quoted values so we do not need an extra set of quotes around them. --- Modules/Platform/Windows-GNU.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,.def" - " -Dlib=\"${CMAKE_GNUtoMS_LIB}\" -Ddef=\".def\" -Ddll=\"\" -Dimp=\"\" -P \"${CMAKE_ROOT}/Modules/Platform/GNUtoMS_lib.cmake\"" + " -Dlib=\"${CMAKE_GNUtoMS_LIB}\" -Ddef=.def -Ddll= -Dimp= -P \"${CMAKE_ROOT}/Modules/Platform/GNUtoMS_lib.cmake\"" ) endif() endmacro() -- cgit v0.12