Skip to content

Commit 85af772

Browse files
committed
[Libomptarget][FIX] Fix unintentinally used PUBLIC interface
Summary: This was supposed to be private and caused some issues with certain configs.
1 parent 14be493 commit 85af772

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

openmp/libomptarget/plugins-nextgen/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ function(add_target_library target_name lib_name)
4747
)
4848

4949
llvm_update_compile_flags(${target_name})
50-
target_link_libraries(${target_name} PUBLIC
50+
target_link_libraries(${target_name} PRIVATE
5151
PluginCommon ${llvm_libs} ${OPENMP_PTHREAD_LIB})
5252

5353
target_compile_definitions(${target_name} PRIVATE TARGET_NAME=${lib_name})

0 commit comments

Comments
 (0)