Skip to content

Commit f8c8cd5

Browse files
authored
Do not compile tests which need GLFW if it's not found (#13774)
1 parent 8157b07 commit f8c8cd5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Detectors/MUON/MCH/Geometry/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
add_subdirectory(MisAligner)
1313
add_subdirectory(Transformer)
1414
add_subdirectory(Creator)
15-
if (BUILD_TESTING)
15+
if (BUILD_TESTING AND GLFW_FOUND)
1616
add_subdirectory(Test)
1717
endif()
1818

0 commit comments

Comments
 (0)