Blame SOURCES/testsuite-11.0.0-test12.patch

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