Automoc4CPack.cmake 550 B

1234567891011121314
  1. set(CPACK_PACKAGE_VENDOR "KDE")
  2. set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Automatic moc for Qt 4 packages")
  3. set(CPACK_PACKAGE_VERSION_MAJOR ${AUTOMOC4_VERSION_MAJOR})
  4. set(CPACK_PACKAGE_VERSION_MINOR ${AUTOMOC4_VERSION_MINOR})
  5. set(CPACK_PACKAGE_VERSION_PATCH ${AUTOMOC4_VERSION_PATCH})
  6. if (APPLE)
  7. set(CPACK_RESOURCE_FILE_README "${CMAKE_CURRENT_SOURCE_DIR}/cpack/README.txt")
  8. set(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/cpack/LICENSE.txt")
  9. set(CPACK_SET_DESTDIR ON)
  10. set(CPACK_PACKAGE_RELOCATABLE OFF)
  11. endif (APPLE)
  12. include(CPack)