Skip to content
Permalink
Browse files

handle spaces in install_names (for real this time)

  • Loading branch information
kyngchaos committed Apr 1, 2013
1 parent e31d4a2 commit a0e9f89854e2f68690289a4139dfe27b11a0b588
Showing with 1 addition and 1 deletion.
  1. +1 −1 cmake/MacBundleMacros.cmake
@@ -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 ()

0 comments on commit a0e9f89

Please sign in to comment.
You can’t perform that action at this time.