cleanup
authorjjose <jjose@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 24 Aug 2010 15:08:38 +0000 (15:08 +0000)
committerjjose <jjose@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 24 Aug 2010 15:08:38 +0000 (15:08 +0000)
CMakeLists.txt

index 093466e..4b852bd 100644 (file)
@@ -207,7 +207,9 @@ Add_subdirectory(ALIROOT)
 add_subdirectory(test)
 add_test ("Aliroot_executable" aliroot -q) 
 #copy testing files
+if(EXISTS "${CTEST_SOURCE_DIRECTORY}/CTestCustom.cmake")
 configure_file("CTestCustom.cmake" "${CTEST_BINARY_DIRECTORY}" COPYONLY)
+endif(EXISTS "${CTEST_SOURCE_DIRECTORY}/CTestCustom.cmake")
 execute_process(COMMAND "cmake" "-E" "copy_directory" "${ALICE_ROOT}/test" "${ALICE_INSTALL}/test")
 
 message("Note : In order for the warnings test to execute successfully you need to log your make build output to make.log in the ALICE_INSTALL Directory using this command \n make -k > make.log 2>&1")