From: Diane Trout Date: Wed, 4 Apr 2012 22:19:28 +0000 (-0700) Subject: Add cpack to build source archive X-Git-Url: http://woldlab.caltech.edu/gitweb/?p=condor-woldlab.git;a=commitdiff_plain;h=8bc4b0fc70949f3fc7cc939d3763b9ceec39cc83 Add cpack to build source archive --- 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