Add cpack to build source archive
authorDiane Trout <diane@caltech.edu>
Wed, 4 Apr 2012 22:19:28 +0000 (15:19 -0700)
committerDiane Trout <diane@caltech.edu>
Wed, 4 Apr 2012 22:19:28 +0000 (15:19 -0700)
CMakeLists.txt

index f118c6c3b11f677b75de434293e8bd2aff5c6f40..38e2e4f61fb0e5eb7e9c2374d97e77ecb97482a1 100644 (file)
@@ -2,4 +2,7 @@ cmake_minimum_required(VERSION 2.6)
 project(condor-woldlab)
 add_executable(castor_load src/castor_load.c)
 
 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