Commit 465fad1a authored by Mike Kremer's avatar Mike Kremer

Copy qt_menu.nib file after build, note that the path can vary depending on...

Copy qt_menu.nib file after build, note that the path can vary depending on how qt has been installed

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@353 fdac6126-5c0c-442c-9429-916003d36597
parent 50a3f6e5
......@@ -52,6 +52,14 @@ if (APPLE)
# let bundle generation depend on all targets
add_dependencies (fixbundle DecimaterGui ProgViewer QtViewer SubdividerGui)
# Required for Snow leopard, and the latest qt. Then the resources have to be copied
if ( EXISTS "/opt/local/libexec/qt4-mac/lib/QtGui.framework/Versions/4/Resources/qt_menu.nib" )
add_custom_command(TARGET OpenMesh POST_BUILD
COMMAND ${CMAKE_COMMAND} -E copy_directory "/opt/local/libexec/qt4-mac/lib/QtGui.framework/Versions/4/Resources/qt_menu.nib" "${CMAKE_BINARY_DIR}/Build/Libraries/qt_menu.nib"
)
endif ()
# install bundle
#install (DIRECTORY ${CMAKE_BINARY_DIR}/Build/OpenMesh.app DESTINATION .
# USE_SOURCE_PERMISSIONS)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment