Print

Print


Commit in lcio on MAIN
LCIOConfig.cmake.in+40added 1.1
needed for building dependent tools with cmake

lcio
LCIOConfig.cmake.in added at 1.1
diff -N LCIOConfig.cmake.in
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ LCIOConfig.cmake.in	21 Mar 2007 14:53:33 -0000	1.1
@@ -0,0 +1,40 @@
+
+
+FIND_PATH(LCIO_INCLUDE NAMES lcio.h
+        PATHS @CMAKE_INSTALL_PREFIX@/include
+        NO_DEFAULT_PATH
+)
+
+FIND_LIBRARY(LCIO_LIB NAMES lcio
+        PATHS @CMAKE_INSTALL_PREFIX@/lib
+        NO_DEFAULT_PATH
+)
+FIND_LIBRARY(SIO_LIB NAMES sio
+        PATHS @CMAKE_INSTALL_PREFIX@/lib
+        NO_DEFAULT_PATH
+)
+
+SET(LCIO_INCLUDE_DIRS ${LCIO_INCLUDE} )
+SET(LCIO_LIBRARIES ${LCIO_LIB} ${SIO_LIB} @siodeps@)
+
+SET(LCIO_FOUND False)
+
+IF(LCIO_INCLUDE)
+  IF(LCIO_LIB)
+   IF(SIO_LIB)
+      SET(LCIO_FOUND True)
+   ENDIF(SIO_LIB)
+  ENDIF(LCIO_LIB)
+ENDIF(LCIO_INCLUDE)
+
+IF (NOT LCIO_FOUND)
+  MESSAGE(STATUS "LCIO not found.")
+  IF (LCIO_FIND_REQUIRED)
+    MESSAGE(FATAL_ERROR "LCIO is required ! "
+	"Set path to LCIO with '-D LCIO_DIR=lcio_path")
+  ENDIF (LCIO_FIND_REQUIRED)
+ENDIF(NOT LCIO_FOUND)
+
+
+
+ 
\ No newline at end of file
CVSspam 0.2.8