mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-19 13:26:45 +00:00
[Offload][NFC] Remove unused compiler definition from CMake
This commit is contained in:
parent
91d7ca904c
commit
32939a16bc
@ -72,11 +72,6 @@ endforeach()
|
||||
target_compile_options(omptarget PUBLIC ${offload_compile_flags})
|
||||
target_link_options(omptarget PUBLIC ${offload_link_flags})
|
||||
|
||||
list(TRANSFORM LIBOMPTARGET_PLUGINS_TO_LOAD PREPEND "\"libomptarget.rtl.")
|
||||
list(TRANSFORM LIBOMPTARGET_PLUGINS_TO_LOAD APPEND "\"")
|
||||
list(JOIN LIBOMPTARGET_PLUGINS_TO_LOAD "," ENABLED_OFFLOAD_PLUGINS)
|
||||
target_compile_definitions(omptarget PRIVATE ENABLED_OFFLOAD_PLUGINS=${ENABLED_OFFLOAD_PLUGINS})
|
||||
|
||||
# libomptarget.so needs to be aware of where the plugins live as they
|
||||
# are now separated in the build directory.
|
||||
set_target_properties(omptarget PROPERTIES
|
||||
|
Loading…
x
Reference in New Issue
Block a user