Ensure 3rd party libraries are writable.
This patch fixes CMake.Install when Qt4 is installed read-only by packaging system like Homebrew.
This commit is contained in:
parent
a7b4e3a57b
commit
aff0029ee3
@ -112,6 +112,7 @@ ELSE(NOT QT4_FOUND)
|
|||||||
endif(APPLE)
|
endif(APPLE)
|
||||||
install(CODE "
|
install(CODE "
|
||||||
include(\"${CMake_SOURCE_DIR}/Modules/BundleUtilities.cmake\")
|
include(\"${CMake_SOURCE_DIR}/Modules/BundleUtilities.cmake\")
|
||||||
|
set(BU_CHMOD_BUNDLE_ITEMS ON)
|
||||||
fixup_bundle(\"${fixup_exe}\" \"\" \"${QT_LIBRARY_DIR};${QT_BINARY_DIR}\")
|
fixup_bundle(\"${fixup_exe}\" \"\" \"${QT_LIBRARY_DIR};${QT_BINARY_DIR}\")
|
||||||
")
|
")
|
||||||
endif(APPLE OR WIN32)
|
endif(APPLE OR WIN32)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user