Skip to content

Commit

Permalink
Do not compile tests which need GLFW if it's not found (#13774)
Browse files Browse the repository at this point in the history
  • Loading branch information
ktf authored Dec 9, 2024
1 parent 8157b07 commit f8c8cd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Detectors/MUON/MCH/Geometry/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
add_subdirectory(MisAligner)
add_subdirectory(Transformer)
add_subdirectory(Creator)
if (BUILD_TESTING)
if (BUILD_TESTING AND GLFW_FOUND)
add_subdirectory(Test)
endif()

0 comments on commit f8c8cd5

Please sign in to comment.