Blame SOURCES/testsuite-11.0.0-test12.patch

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