Fix for out-of-source builds
authorfca <fca@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sat, 15 Nov 2008 11:08:02 +0000 (11:08 +0000)
committerfca <fca@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sat, 15 Nov 2008 11:08:02 +0000 (11:08 +0000)
RAW/CMakeLists.txt
RAW/CMake_libRAWDatabase.txt

index 9405da8..f3de3fa 100644 (file)
@@ -4,6 +4,7 @@
 # The extension is already found.  Any number of sources could be listed here.
 
 set(INCLUDE_DIRECTORIES
+RAW
 ${CMAKE_SOURCE_DIR}/RAW
 ${CMAKE_SOURCE_DIR}/STEER
 ${ROOT_INCLUDE_DIR}
index 920c9b6..2391785 100644 (file)
@@ -15,4 +15,8 @@ String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
 
 Set(HDRS ${HDRS} AliRawEventHeaderVersions.h ${ROOTSYS}/include/TH1F.h)
 
+Configure_file(${CMAKE_SOURCE_DIR}/RAW/AliRawEventHeaderVersions.h 
+               ${CMAKE_CURRENT_BINARY_DIR}/RAW/AliRawEventHeaderVersions.h 
+                COPYONLY)
+
 AddLibrary(RAWDatabase "${SRCS}" "${HDRS}")