Blame SOURCES/testsuite-11.0.0-test12.patch

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