# HG changeset patch # User Andre Heinecke # Date 1432636941 -7200 # Node ID 93d3197a883b2c11c1ca3bf82098a6e5816565e3 # Parent 10569ebcf496fcad784d52c7e145b81816ac86d4 Only create application bundle on MacOS diff -r 10569ebcf496 -r 93d3197a883b src/CMakeLists.txt --- a/src/CMakeLists.txt Fri May 22 12:34:36 2015 +0200 +++ b/src/CMakeLists.txt Tue May 26 12:42:21 2015 +0200 @@ -138,10 +138,12 @@ endif(WIN32) install(TARGETS ${PROJECT_NAME} DESTINATION bin BUNDLE DESTINATION .) -INSTALL(CODE " - include(BundleUtilities) - fixup_bundle(\"${APPS}\" \"\${QTPLUGINS}\" \"${DIRS}\") - " COMPONENT Runtime) +if(APPLE) + install(CODE " + include(BundleUtilities) + fixup_bundle(\"${APPS}\" \"\${QTPLUGINS}\" \"${DIRS}\") + " COMPONENT Runtime) +endif() set(CPACK_BINARY_DRAGNDROP ON) include(CPack)