Skip to content

Commit a0e9f89

Browse files
committed
handle spaces in install_names (for real this time)
1 parent e31d4a2 commit a0e9f89

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cmake/MacBundleMacros.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ FUNCTION (GET_INSTALL_NAME LIBFILE LIBNAME OUTVAR)
3838
IF (iname)
3939
# find libname
4040
STRING (REGEX MATCH "[^\n\t ]*${LIBNAME}[^\n]*" iname "${iname}")
41-
STRING (REGEX REPLACE " \(compatibility version .*, current version .*\)$" "" iname "${iname}")
41+
STRING (REGEX REPLACE " \\(compatibility version .*, current version .*\\)" "" iname "${iname}")
4242
ENDIF (iname)
4343
SET (${OUTVAR} ${iname} PARENT_SCOPE)
4444
ELSE ()

0 commit comments

Comments
 (0)