Blame SOURCES/testsuite-11.0.0-test12.patch

08c294
--- dyninst-11.0.0/testsuite-11.0.0/CMakeLists.txt
08c294
+++ dyninst-11.0.0/testsuite-11.0.0/CMakeLists.txt
08c294
@@ -341,5 +341,10 @@
08c294
   add_library(Test12 SHARED src/dyninst/libTest12.c)
08c294
   add_library(dyninstAPI_RT SHARED IMPORTED)
08c294
-  set_target_properties(dyninstAPI_RT PROPERTIES IMPORTED_LOCATION "${Dyninst_DIR}/../../libdyninstAPI_RT.so")
08c294
+  set(_path_suffixes dyninst)
08c294
+  find_library(dyninstAPI_RT_LIBRARY
08c294
+             NAMES libdyninstAPI_RT.so
08c294
+             PATHS ${Dyninst_DIR}/../..
08c294
+             PATH_SUFFIXES ${_path_suffixes})
08c294
+  set_target_properties(dyninstAPI_RT PROPERTIES IMPORTED_LOCATION ${dyninstAPI_RT_LIBRARY})
08c294
   target_link_libraries(Test12 dyninstAPI_RT)
08c294
   install(TARGETS Test12