cpack support for projectm-qt

git-svn-id: https://projectm.svn.sourceforge.net/svnroot/projectm/trunk@1269 6778bc44-b910-0410-a7a0-be141de4315d
This commit is contained in:
w1z7ard
2009-08-18 04:19:04 +00:00
parent fa35892691
commit febcbecbbf

View File

@ -3,6 +3,14 @@ project(projectM-qt) # the name of your project
cmake_minimum_required(VERSION 2.4.0)
cmake_policy(SET CMP0005 OLD)
SET(CPACK_BINARY_RPM OFF)
#SET(CPACK_BINARY_Z OFF)
SET(CPACK_SOURCE_TGZ ON)
SET(CPACK_BINARY_TGZ ON)
#SET(CPACK_SOURCE_Z OFF)
SET(CPACK_PACKAGE_VERSION_MAJOR "2")
SET(CPACK_PACKAGE_VERSION_MINOR "0")
SET(CPACK_PACKAGE_VERSION_PATCH "0")
include(FindPkgConfig.cmake)
if (${CMAKE_PROJECT_NAME} MATCHES "PROJECTM_ROOT")