Skip to content

Commit

Permalink
CMake: remove old TEve lines
Browse files Browse the repository at this point in the history
  • Loading branch information
olantwin committed Feb 12, 2025
1 parent 20f685c commit 298e8b9
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -227,24 +227,6 @@ add_subdirectory (field)
add_subdirectory (pid)
add_subdirectory (muonShieldOptimization)

FIND_PATH(TEvePath NAMES TEveEventManager.h PATHS
${SIMPATH}/tools/root/include
${SIMPATH}/include/root
$ENV{ROOTSYS}/include/root
NO_DEFAULT_PATH
)

If(TEvePath)
#find_package(OpenGL)
#If (OPENGL_FOUND AND OPENGL_GLU_FOUND)
Message("Found TEve, so the eventdisplay will be compiled.")

IF(NOT FAIRROOT_FOUND)
add_subdirectory (eventdisplay)
ENDIF(NOT FAIRROOT_FOUND)

EndIf(TEvePath)

add_custom_target( # make relative links to folders
geometry.link ALL
COMMAND [ -e geometry ] || python -c \"import os.path as p, os\; os.symlink(p.join(p.relpath('${CMAKE_SOURCE_DIR}', '${CMAKE_BINARY_DIR}') , 'geometry') , 'geometry') \"
Expand Down

0 comments on commit 298e8b9

Please sign in to comment.