We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a964f42 commit 7b54c7fCopy full SHA for 7b54c7f
offload/DeviceRTL/CMakeLists.txt
@@ -142,6 +142,7 @@ function(compileDeviceRTLLibrary target_name target_triple)
142
add_library(omptarget.${target_name}.all_objs OBJECT IMPORTED)
143
set_property(TARGET omptarget.${target_name}.all_objs APPEND PROPERTY IMPORTED_OBJECTS
144
${LIBOMPTARGET_LLVM_LIBRARY_INTDIR}/libomptarget-${target_name}.bc)
145
+ add_dependencies(omptarget.${target_name}.all_objs libomptarget-${target_name})
146
147
# Archive all the object files generated above into a static library
148
add_library(omptarget.${target_name} STATIC)
0 commit comments