File 0001-fix-libraries-linkage.patch of Package tracy

diff -Naur ./a/CMakeLists.txt ./b/CMakeLists.txt
--- ./a/CMakeLists.txt	2026-02-22 17:41:36.570160917 +0300
+++ ./b/CMakeLists.txt	2026-02-22 17:38:23.520065102 +0300
@@ -89,15 +89,15 @@
 if(TRACY_LIBUNWIND_BACKTRACE)
     include(FindPkgConfig)
     pkg_check_modules(unwind REQUIRED libunwind)
-    target_include_directories(TracyClient INTERFACE ${unwind_INCLUDE_DIRS})
-    target_link_libraries(TracyClient INTERFACE ${unwind_LINK_LIBRARIES})
+    target_include_directories(TracyClient PUBLIC ${unwind_INCLUDE_DIRS})
+    target_link_libraries(TracyClient PUBLIC ${unwind_LINK_LIBRARIES})
 endif()
 
 if(TRACY_DEBUGINFOD)
     include(FindPkgConfig)
     pkg_check_modules(debuginfod REQUIRED libdebuginfod)
-    target_include_directories(TracyClient INTERFACE ${debuginfod_INCLUDE_DIRS})
-    target_link_libraries(TracyClient INTERFACE ${debuginfod_LINK_LIBRARIES})
+    target_include_directories(TracyClient PUBLIC ${debuginfod_INCLUDE_DIRS})
+    target_link_libraries(TracyClient PUBLIC ${debuginfod_LINK_LIBRARIES})
 endif()
 
 add_library(Tracy::TracyClient ALIAS TracyClient)
openSUSE Build Service is sponsored by