Skip to content

Commit

Permalink
handle spaces in install_names (for real this time)
Browse files Browse the repository at this point in the history
  • Loading branch information
kyngchaos committed Apr 1, 2013
1 parent e31d4a2 commit a0e9f89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/MacBundleMacros.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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 ()
Expand Down

0 comments on commit a0e9f89

Please sign in to comment.