Blame SOURCES/testsuite-11.0.0-test12.patch

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