Skip to content

Commit

Permalink
Do not try to find GPU dependencies in non-O2 software that pulls in …
Browse files Browse the repository at this point in the history
…O2 cmake-config
  • Loading branch information
davidrohr committed Jan 14, 2024
1 parent e3f1abc commit dc6cecd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dependencies/O2Dependencies.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -163,8 +163,9 @@ find_package(Clang)
set_package_properties(Clang PROPERTIES TYPE OPTIONAL)
endif()


if(CMAKE_PROJECT_NAME STREQUAL "O2")
find_package(O2GPU)
endif()

find_package(FastJet)

Expand Down

0 comments on commit dc6cecd

Please sign in to comment.