Skip to content

Commit 8df4ac2

Browse files
committed
GPU Standalone: Add CMake check to require ROOT if building event display
1 parent 0c40290 commit 8df4ac2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

GPU/GPUTracking/Standalone/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,8 @@ endif()
112112

113113
if(GPUCA_CONFIG_ROOT)
114114
find_package(ROOT CONFIG REQUIRED)
115+
elseif(GPUCA_BUILD_EVENT_DISPLAY)
116+
message(FATAL_ERROR "Cannot build event display without ROOT")
115117
endif()
116118
find_package(Microsoft.GSL REQUIRED HINTS "$ENV{MS_GSL_ROOT}/share/cmake")
117119

0 commit comments

Comments
 (0)