forked from OSchip/llvm-project
[CMake] Handle 'libtool' being at a path with spaces in it.
This can happen on macOS if the user's Xcode is at a path with spaces in it. llvm-svn: 334632
This commit is contained in:
parent
cb38fd644e
commit
d71614a438
|
@ -92,7 +92,7 @@ if(CMAKE_HOST_APPLE AND APPLE)
|
|||
|
||||
foreach(lang ${languages})
|
||||
set(CMAKE_${lang}_CREATE_STATIC_LIBRARY
|
||||
"${CMAKE_LIBTOOL} -static ${LIBTOOL_NO_WARNING_FLAG} -o <TARGET> \
|
||||
"\"${CMAKE_LIBTOOL}\" -static ${LIBTOOL_NO_WARNING_FLAG} -o <TARGET> \
|
||||
<LINK_FLAGS> <OBJECTS> ")
|
||||
endforeach()
|
||||
endif()
|
||||
|
|
Loading…
Reference in New Issue