Skip to content

Commit 32939a1

Browse files
committed
[Offload][NFC] Remove unused compiler definition from CMake
1 parent 91d7ca9 commit 32939a1

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

offload/src/CMakeLists.txt

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -72,11 +72,6 @@ endforeach()
7272
target_compile_options(omptarget PUBLIC ${offload_compile_flags})
7373
target_link_options(omptarget PUBLIC ${offload_link_flags})
7474

75-
list(TRANSFORM LIBOMPTARGET_PLUGINS_TO_LOAD PREPEND "\"libomptarget.rtl.")
76-
list(TRANSFORM LIBOMPTARGET_PLUGINS_TO_LOAD APPEND "\"")
77-
list(JOIN LIBOMPTARGET_PLUGINS_TO_LOAD "," ENABLED_OFFLOAD_PLUGINS)
78-
target_compile_definitions(omptarget PRIVATE ENABLED_OFFLOAD_PLUGINS=${ENABLED_OFFLOAD_PLUGINS})
79-
8075
# libomptarget.so needs to be aware of where the plugins live as they
8176
# are now separated in the build directory.
8277
set_target_properties(omptarget PROPERTIES

0 commit comments

Comments
 (0)