mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-18 00:03:05 -04:00
handle spaces in install_names (for real this time)
This commit is contained in:
parent
e31d4a2058
commit
a0e9f89854
@ -38,7 +38,7 @@ FUNCTION (GET_INSTALL_NAME LIBFILE LIBNAME OUTVAR)
|
||||
IF (iname)
|
||||
# find libname
|
||||
STRING (REGEX MATCH "[^\n\t ]*${LIBNAME}[^\n]*" iname "${iname}")
|
||||
STRING (REGEX REPLACE " \(compatibility version .*, current version .*\)$" "" 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