Skip to content

Commit 34c4cdf

Browse files
committed
correct a bug
1 parent 7a499f4 commit 34c4cdf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cmake/common.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -363,8 +363,8 @@ endfunction()
363363
# @_BS_TARGET_@ is a builtin resource target
364364

365365
function(LINK_BUILTIN_RESOURCES_TO_TARGET _TARGET_ _BS_TARGET_)
366-
add_dependencies(${EXECUTABLE_NAME} systemTestBuiltinResourceData)
367-
target_link_libraries(${EXECUTABLE_NAME} PUBLIC systemTestBuiltinResourceData)
366+
add_dependencies(${EXECUTABLE_NAME} ${_BS_TARGET_})
367+
target_link_libraries(${EXECUTABLE_NAME} PUBLIC ${_BS_TARGET_})
368368

369369
get_target_property(_BUILTIN_RESOURCES_INCLUDE_SEARCH_DIRECTORY_ ${_BS_TARGET_} BUILTIN_RESOURCES_INCLUDE_SEARCH_DIRECTORY)
370370
target_include_directories(${EXECUTABLE_NAME} PUBLIC "${_BUILTIN_RESOURCES_INCLUDE_SEARCH_DIRECTORY_}")

0 commit comments

Comments
 (0)