Commit 0b28f7f6 authored by Jan Möbius's avatar Jan Möbius
Browse files

Add dependencies and fixbundle for apps only if we build apps

git-svn-id: fdac6126-5c0c-442c-9429-916003d36597
parent fb4b1592
......@@ -113,8 +113,8 @@ if(${PROJECT_NAME} MATCHES "OpenMesh")
if (APPLE)
# On apple we do a fixbundle, which is only necessary for the apps and not for the libs
# prepare bundle generation cmake file and add a build target for it
configure_file ("${CMAKE_SOURCE_DIR}/cmake/"
"${CMAKE_BINARY_DIR}/fixbundle.cmake" @ONLY IMMEDIATE)
......@@ -125,10 +125,9 @@ if(${PROJECT_NAME} MATCHES "OpenMesh")
# 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"
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 ()
endif ()
Supports Markdown
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