Skip to content

Commit 28511bb

Browse files
Remove not needed dependencies on gmm library target
target_link_libraries applies the dependency implicitly Change-Id: Ie989e8edbcfeecfb15b3512dac6026ea5e9eb3eb Signed-off-by: Mateusz Jablonski <[email protected]>
1 parent 42d031b commit 28511bb

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -444,7 +444,6 @@ endif()
444444

445445
macro(copy_gmm_dll_for target)
446446
if(NOT UNIX)
447-
add_dependencies(${target} ${GMM_TARGET_NAME})
448447
add_custom_command(
449448
TARGET ${target}
450449
POST_BUILD

runtime/CMakeLists.txt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -140,10 +140,6 @@ if(${GENERATE_EXECUTABLE})
140140
set_property(GLOBAL APPEND PROPERTY NEO_COMPONENTS_LIST "opencl")
141141
endif()
142142

143-
if(TARGET ${GMM_TARGET_NAME})
144-
add_dependencies(${NEO_DYNAMIC_LIB_NAME} ${GMM_TARGET_NAME})
145-
endif()
146-
147143
if(NOT DISABLED_GTPIN_SUPPORT)
148144
macro(macro_for_each_gen)
149145
target_sources(${NEO_DYNAMIC_LIB_NAME} PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/${GEN_TYPE_LOWER}/gtpin_setup_${GEN_TYPE_LOWER}.cpp)

0 commit comments

Comments
 (0)