fixbundle depencies only if qt found

This commit is contained in:
Johannes Lenzen
2021-05-03 14:03:27 +02:00
parent 362672c63c
commit 0dbf83eef7

View File

@@ -170,7 +170,9 @@ if(${CMAKE_PROJECT_NAME} MATCHES "OpenMesh")
"${CMAKE_BINARY_DIR}/fixbundle.cmake" @ONLY IMMEDIATE) "${CMAKE_BINARY_DIR}/fixbundle.cmake" @ONLY IMMEDIATE)
# let bundle generation depend on all targets # let bundle generation depend on all targets
if (QT_FOUND)
add_dependencies (fixbundle DecimaterGui ProgViewer QtViewer SubdividerGui) add_dependencies (fixbundle DecimaterGui ProgViewer QtViewer SubdividerGui)
endif()
# Required for Snow leopard, and the latest qt. Then the resources have to be copied # 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" ) if ( EXISTS "/opt/local/libexec/qt4-mac/lib/QtGui.framework/Versions/4/Resources/qt_menu.nib" )