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.
2 parents 595d6e2 + 6fcb486 commit 725843bCopy full SHA for 725843b
amd/device-libs/utils/prepare-builtins/CMakeLists.txt
@@ -26,5 +26,11 @@ set_target_properties(prepare-builtins PROPERTIES
26
CXX_STANDARD_REQUIRED Yes
27
CXX_EXTENSIONS No)
28
llvm_update_compile_flags(prepare-builtins)
29
-llvm_map_components_to_libnames(llvm_libs support core bitreader bitwriter)
+
30
+if (LLVM_LINK_LLVM_DYLIB)
31
+ set(llvm_libs LLVM)
32
+else()
33
+ llvm_map_components_to_libnames(llvm_libs support core bitreader bitwriter)
34
+endif()
35
36
target_link_libraries(prepare-builtins ${llvm_libs})
0 commit comments