Skip to content

Commit f68b1e7

Browse files
committed
Change Realm dependency on OpenMP to be transitive for system OpenMP
1 parent c7b4137 commit f68b1e7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -505,7 +505,7 @@ if(REALM_ENABLE_OPENMP)
505505
if(REALM_OPENMP_SYSTEM_RUNTIME)
506506
find_package(OpenMP REQUIRED COMPONENTS C CXX)
507507
list(APPEND REALM_STATIC_DEPENDS OpenMP)
508-
list(APPEND REALM_LIBRARIES OpenMP::OpenMP_CXX)
508+
list(APPEND REALM_PUBLIC_LIBRARIES OpenMP::OpenMP_CXX)
509509
endif()
510510
endif()
511511

0 commit comments

Comments
 (0)