[uchardet: 12/29] CMake: Fix regression in f53cb8c building in paths with spaces
- From: Jehan Pagès <jehanp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [uchardet: 12/29] CMake: Fix regression in f53cb8c building in paths with spaces
- Date: Sun, 27 Mar 2016 18:37:26 +0000 (UTC)
commit 78b55ec9fe7ebfd2c0d514b0fd610a5c1401a7da
Author: Ricardo Constantino (:RiCON) <wiiaboo gmail com>
Date: Fri Mar 18 03:30:48 2016 +0000
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.
src/symbols.cmake | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/symbols.cmake b/src/symbols.cmake
index bd83f1d..26897f6 100644
--- a/src/symbols.cmake
+++ b/src/symbols.cmake
@@ -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)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]