Epple-II/share/FixBundle.cmake.in
2022-12-04 16:33:27 -05:00

17 lines
571 B
CMake

include(BundleUtilities)
# Set bundle to the full path name of the executable already
# existing in the install tree:
set(bundle "${CMAKE_INSTALL_PREFIX}/@APP_NAME@.app")
# Set other_libs to a list of full path names to additional
# libraries that cannot be reached by dependency analysis.
# (Dynamically loaded PlugIns, for example.)
set(other_libs "")
# Set dirs to a list of directories where prerequisite libraries
# may be found:
set(dirs "@CMAKE_RUNTIME_OUTPUT_DIRECTORY@" "@CMAKE_LIBRARY_OUTPUT_DIRECTORY@")
fixup_bundle("${bundle}" "${other_libs}" "${dirs}")