Commit a10f3ebb authored by Christoph Rosemann's avatar Christoph Rosemann Committed by Claus Kleinwort
Browse files

Update for the cmake configuration file;

dependencies on ROOT are made explicit; any project that includes GBL now uses the package needed for GBL building.



git-svn-id: http://svnsrv.desy.de/public/GeneralBrokenLines/trunk@102 281f6f2b-e318-4fd1-8bce-1a4ba7aab212
parent df409ce6
......@@ -52,12 +52,13 @@ FOREACH( libname ${GBL_LIB_NAMES} )
ENDIF()
ENDFOREACH()
# set variables and display results
IF( GBL_INCLUDE_DIR AND NOT GBL_FINDLIB_FAILED )
SET( GBL_FOUND TRUE )
SET( GBL_INCLUDE_DIRS ${GBL_INCLUDE_DIR} ${GBL_INCLUDE_DIR}/GBL )
SET( GBL_LIBRARY_DIRS "@CMAKE_INSTALL_PREFIX@/lib" )
SET( GBL_LIBRARIES ${GBL_LIBS} )
SET( GBL_INCLUDE_DIRS ${GBL_INCLUDE_DIR} ${GBL_INCLUDE_DIR}/GBL @ROOT_INCLUDE_DIRS@ )
SET( GBL_LIBRARY_DIRS @CMAKE_INSTALL_PREFIX@/lib @ROOT_LIBRARY_DIR@ )
SET( GBL_LIBRARIES ${GBL_LIBS} @ROOT_LIBS@)
MARK_AS_ADVANCED( GBL_INCLUDE_DIRS GBL_LIBRARY_DIRS GBL_LIBRARIES )
MESSAGE( STATUS "Check for GBL: it works" )
ELSE()
......@@ -67,4 +68,4 @@ ELSE()
MESSAGE( STATUS "Check for GBL: @CMAKE_INSTALL_PREFIX@"
" -- failed!! will skip this package..." )
ENDIF( GBL_FIND_REQUIRED )
ENDIF()
\ No newline at end of file
ENDIF()
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment