diff --git a/cmake/OpenMeshPackage.cmake b/cmake/OpenMeshPackage.cmake index 28b258064c77cb0ece0b5efdc735e5650a4b6bf0..9fbaf4e9e477778b6e13f162a230d37d397fc015 100644 --- a/cmake/OpenMeshPackage.cmake +++ b/cmake/OpenMeshPackage.cmake @@ -87,8 +87,8 @@ if (WIN32) # TODO: fillme # set (CPACK_NSIS_CONTACT "") - # Copy all shared Qt files to build binary dir - if ( NOT Q_WS_MAC) + # Copy all shared Qt files to build binary dir if we build openmesh with the apps + if ( NOT Q_WS_MAC AND BUILD_APPS) if (DEFINED QT_QMAKE_EXECUTABLE) SET (QTLIBLIST QtCore QtGui)