|
Rex Dieter |
29094f |
From e1df41943ff34f1ee0693160181ebfc4f5cab67a Mon Sep 17 00:00:00 2001
|
|
Rex Dieter |
29094f |
From: Benjamin Reed <ranger@befunk.com>
|
|
Rex Dieter |
29094f |
Date: Wed, 27 May 2009 20:04:12 +0000
|
|
Rex Dieter |
29094f |
Subject: [PATCH 15/33] put the apple-specific stuff in here
|
|
Rex Dieter |
29094f |
|
|
Rex Dieter |
29094f |
svn path=/trunk/kdesupport/automoc/; revision=973781
|
|
Rex Dieter |
29094f |
---
|
|
Rex Dieter |
29094f |
CMakeLists.txt | 7 +++----
|
|
Rex Dieter |
29094f |
1 file changed, 3 insertions(+), 4 deletions(-)
|
|
Rex Dieter |
29094f |
|
|
Rex Dieter |
29094f |
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
Rex Dieter |
29094f |
index 570d6a4..bb8a9d3 100644
|
|
Rex Dieter |
29094f |
--- a/CMakeLists.txt
|
|
Rex Dieter |
29094f |
+++ b/CMakeLists.txt
|
|
Rex Dieter |
29094f |
@@ -14,14 +14,13 @@ endif (CMAKE_COMPILER_IS_GNUCXX OR CMAKE_C_COMPILER MATCHES "icc")
|
|
Rex Dieter |
29094f |
include(Automoc4Version.cmake)
|
|
Rex Dieter |
29094f |
|
|
Rex Dieter |
29094f |
set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Automatic moc for Qt 4 packages")
|
|
Rex Dieter |
29094f |
-set(CPACK_RESOURCE_FILE_README "${CMAKE_CURRENT_SOURCE_DIR}/cpack/README.txt")
|
|
Rex Dieter |
29094f |
-set(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/cpack/LICENSE.txt")
|
|
Rex Dieter |
29094f |
-set(CPACK_PACKAGE_VERSION ${AUTOMOC4_VERSION})
|
|
Rex Dieter |
29094f |
set(CPACK_PACKAGE_VERSION_MAJOR ${AUTOMOC4_VERSION_MAJOR})
|
|
Rex Dieter |
29094f |
set(CPACK_PACKAGE_VERSION_MINOR ${AUTOMOC4_VERSION_MINOR})
|
|
Rex Dieter |
29094f |
set(CPACK_PACKAGE_VERSION_PATCH ${AUTOMOC4_VERSION_PATCH})
|
|
Rex Dieter |
29094f |
-set(CPACK_SET_DESTDIR ON)
|
|
Rex Dieter |
29094f |
if (APPLE)
|
|
Rex Dieter |
29094f |
+ set(CPACK_RESOURCE_FILE_README "${CMAKE_CURRENT_SOURCE_DIR}/cpack/README.txt")
|
|
Rex Dieter |
29094f |
+ set(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/cpack/LICENSE.txt")
|
|
Rex Dieter |
29094f |
+ set(CPACK_SET_DESTDIR ON)
|
|
Rex Dieter |
29094f |
set(CPACK_PACKAGE_RELOCATABLE OFF)
|
|
Rex Dieter |
29094f |
endif (APPLE)
|
|
Rex Dieter |
29094f |
|
|
Rex Dieter |
29094f |
--
|
|
Rex Dieter |
29094f |
2.4.3
|
|
Rex Dieter |
29094f |
|