mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-05 00:09:32 -04:00
handle spaces in install_names
This commit is contained in:
parent
00c5edf217
commit
e31d4a2058
@ -37,7 +37,8 @@ FUNCTION (GET_INSTALL_NAME LIBFILE LIBNAME OUTVAR)
|
||||
STRING (REGEX REPLACE ".*:\n" "" iname "${iname_out}")
|
||||
IF (iname)
|
||||
# find libname
|
||||
STRING (REGEX MATCH "[^\n\t ]*${LIBNAME}[^\n ]*" iname "${iname}")
|
||||
STRING (REGEX MATCH "[^\n\t ]*${LIBNAME}[^\n]*" iname "${iname}")
|
||||
STRING (REGEX REPLACE " \(compatibility version .*, current version .*\)$" "" iname "${iname}")
|
||||
ENDIF (iname)
|
||||
SET (${OUTVAR} ${iname} PARENT_SCOPE)
|
||||
ELSE ()
|
||||
|
Loading…
x
Reference in New Issue
Block a user