diff --git a/dependencies/O2Dependencies.cmake b/dependencies/O2Dependencies.cmake index a303ec6afb10b..bd0085e8c8cfc 100644 --- a/dependencies/O2Dependencies.cmake +++ b/dependencies/O2Dependencies.cmake @@ -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)