diff options
author | Jiri Malak <malak.jiri@gmail.com> | 2014-02-28 17:21:52 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-02-28 18:34:59 (GMT) |
commit | 5c5be193cf86f86fb6e9c0c0bd4f01eb1dfa8d08 (patch) | |
tree | 74161cad6bda8817474562bb3063097754380eab /Modules | |
parent | 451b55f3ae25baa0230a4806bb02de270801bfd0 (diff) | |
download | CMake-5c5be193cf86f86fb6e9c0c0bd4f01eb1dfa8d08.zip CMake-5c5be193cf86f86fb6e9c0c0bd4f01eb1dfa8d08.tar.gz CMake-5c5be193cf86f86fb6e9c0c0bd4f01eb1dfa8d08.tar.bz2 |
Watcom: Fix static library name quoting for wlib
Use double-quotes instead of single-quotes around the static library
target name in 'wlib' invocations.
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/Platform/Windows-wcl386.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/Platform/Windows-wcl386.cmake b/Modules/Platform/Windows-wcl386.cmake index 8a03b29..2d5050a 100644 --- a/Modules/Platform/Windows-wcl386.cmake +++ b/Modules/Platform/Windows-wcl386.cmake @@ -40,7 +40,7 @@ set (CMAKE_C_STANDARD_LIBRARIES_INIT "library clbrdll.lib library plbrdll.lib l set (CMAKE_CXX_STANDARD_LIBRARIES_INIT "${CMAKE_C_STANDARD_LIBRARIES_INIT}") set(CMAKE_C_CREATE_IMPORT_LIBRARY - "wlib -c -q -n -b <TARGET_IMPLIB> +'<TARGET_UNQUOTED>'") + "wlib -c -q -n -b <TARGET_IMPLIB> +<TARGET_QUOTED>") set(CMAKE_CXX_CREATE_IMPORT_LIBRARY ${CMAKE_C_CREATE_IMPORT_LIBRARY}) set(CMAKE_C_LINK_EXECUTABLE @@ -78,7 +78,7 @@ set(CMAKE_C_CREATE_SHARED_LIBRARY ${CMAKE_CXX_CREATE_SHARED_LIBRARY}) set(CMAKE_C_CREATE_SHARED_MODULE ${CMAKE_CXX_CREATE_SHARED_MODULE}) # create a C++ static library -set(CMAKE_CXX_CREATE_STATIC_LIBRARY "wlib ${CMAKE_LIB_QUIET} -c -n -b '<TARGET_UNQUOTED>' <LINK_FLAGS> <OBJECTS> ") +set(CMAKE_CXX_CREATE_STATIC_LIBRARY "wlib ${CMAKE_LIB_QUIET} -c -n -b <TARGET_QUOTED> <LINK_FLAGS> <OBJECTS> ") # create a C static library set(CMAKE_C_CREATE_STATIC_LIBRARY ${CMAKE_CXX_CREATE_STATIC_LIBRARY}) |