Skip to content
Snippets Groups Projects
Commit b3ece480 authored by Christoph Rosemann's avatar Christoph Rosemann
Browse files

Tip of the day: to revert to a former version in svn, it's better to use the right revision number.

This way, one hour bug hunting is skipped.
parent 7c12b678
No related branches found
No related tags found
No related merge requests found
......@@ -75,19 +75,5 @@ INCLUDE( FindPackageHandleStandardArgs )
# set DD4HEP_FOUND to TRUE if all listed variables are TRUE and not empty
FIND_PACKAGE_HANDLE_STANDARD_ARGS( DD4hep DEFAULT_MSG DD4hep_ROOT DD4hep_INCLUDE_DIRS DD4hep_LIBRARIES )
# set variables and display results
IF( ${DD4HEP_FOUND} )
SET( DD4hep_FOUND ${DD4HEP_FOUND} )
SET( DD4hep_INCLUDE_DIRS ${DD4hep_INCLUDE_DIR} ${DD4hep_INCLUDE_DIR}/DD4hep @ROOT_INCLUDE_DIRS@ )
SET( DD4hep_LIBRARY_DIRS @CMAKE_INSTALL_PREFIX@/lib @ROOT_LIBRARY_DIR@ )
SET( DD4hep_LIBRARIES ${DD4hep_LIBS} @ROOT_LIBS@)
MARK_AS_ADVANCED( DD4hep_INCLUDE_DIRS DD4hep_LIBRARY_DIRS DD4hep_LIBRARIES )
MESSAGE( STATUS "Check for DD4hep: it works" )
ELSE()
IF( DD4hep_FIND_REQUIRED )
MESSAGE( FATAL_ERROR "Check for DD4hep: @CMAKE_INSTALL_PREFIX@ -- failed!!" )
ELSE( DD4hep_FIND_REQUIRED )
MESSAGE( STATUS "Check for DD4hep: @CMAKE_INSTALL_PREFIX@"
" -- failed!! will skip this package..." )
ENDIF( DD4hep_FIND_REQUIRED )
ENDIF()
SET( DD4hep_FOUND ${DD4HEP_FOUND} )
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment