Under what circumstances does cmake place a fixup_bundle command in dependencies.cmake? I've got a problem where fixup_bundle is being created without reference to DESTDIR, and install fails when DESTDIR is used.
This is the generated dependencies.cmake file: function(gp_item_default_embedded_path_override path) set(path "@executable_path" PARENT_SCOPE) endfunction() include(BundleUtilities) set(plugins "") list(APPEND plugins "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/plugins/imageformats/libqgif.dylib") list(APPEND plugins "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/plugins/imageformats/libqico.dylib") list(APPEND plugins "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/plugins/imageformats/libqjpeg.dylib") list(APPEND plugins "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/plugins/imageformats/libqtiff.dylib") list(APPEND plugins "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/plugins/platforms/libqcocoa.dylib") fixup_bundle("${CMAKE_INSTALL_PREFIX}/bin/rvu" "${plugins}" "/opt/local/libexec/qt5/lib;/opt/local/lib") -- Randolph M. Fritz || +1 206 659-8617 || rmfri...@gmail.com
-- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: https://cmake.org/mailman/listinfo/cmake