From 8bc4b0fc70949f3fc7cc939d3763b9ceec39cc83 Mon Sep 17 00:00:00 2001 From: Diane Trout Date: Wed, 4 Apr 2012 15:19:28 -0700 Subject: [PATCH] Add cpack to build source archive --- CMakeLists.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index f118c6c..38e2e4f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,4 +2,7 @@ cmake_minimum_required(VERSION 2.6) project(condor-woldlab) add_executable(castor_load src/castor_load.c) -install(TARGETS castor_load bin) +install(TARGETS castor_load DESTINATION bin) +set (CPACK_PACKAGE_VERSION_MAJOR "0") +set (CPACK_PACKAGE_VERSION_MINOR "0") +include(CPack) \ No newline at end of file -- 2.30.2