mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-09 23:59:53 -05:00
fileAPI: Fix wrong linking relationship in symbolic library test
Commit 62a1d3e7f1 (FileAPI: Add symbolic property to targets, 2025-09-30)
contained an error in added test code where a wrong library was linked.
The naming of the targets involved make clear the intended linking
relationship, but nothing in the test was actually testing or relying on
that relationship so it went undetected.
This commit is contained in:
@@ -34,7 +34,7 @@ target_link_libraries(link_imported_interface_exe PRIVATE imported_interface_lib
|
||||
|
||||
add_library(imported_interface_symbolic_lib INTERFACE SYMBOLIC IMPORTED)
|
||||
add_executable(link_imported_interface_symbolic_exe ../empty.c)
|
||||
target_link_libraries(link_imported_interface_symbolic_exe PRIVATE imported_interface_lib)
|
||||
target_link_libraries(link_imported_interface_symbolic_exe PRIVATE imported_interface_symbolic_lib)
|
||||
|
||||
install(IMPORTED_RUNTIME_ARTIFACTS imported_shared_lib
|
||||
DESTINATION lib
|
||||
|
||||
Reference in New Issue
Block a user