mirror of
https://gitlab.freedesktop.org/uchardet/uchardet.git
synced 2025-12-08 01:36:41 +08:00
CMake: Fix regression in f53cb8c building in paths with spaces
Tested with Ninja and Make in Windows and Archlinux with paths with and without spaces.
This commit is contained in:
parent
fcc525a64f
commit
78b55ec9fe
@ -25,7 +25,7 @@ elseif (CMAKE_CXX_COMPILER_ID STREQUAL GNU)
|
||||
set(_version_script "${CMAKE_CURRENT_BINARY_DIR}/version.script")
|
||||
file(WRITE ${_version_script} "${_symbols}\n")
|
||||
|
||||
set(LINK_FLAGS "${LINK_FLAGS} -Wl,--version-script,${_version_script}")
|
||||
set(LINK_FLAGS "${LINK_FLAGS} -Wl,--version-script,\"${_version_script}\"")
|
||||
|
||||
endif (APPLE)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user