You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
1.1 KiB

  1. Index: protobuf-3.13.0/cmake/install.cmake
  2. ===================================================================
  3. --- protobuf-3.13.0.orig/cmake/install.cmake
  4. +++ protobuf-3.13.0/cmake/install.cmake
  5. @@ -16,8 +16,8 @@ foreach(_library ${_protobuf_libraries})
  6. $<BUILD_INTERFACE:${protobuf_source_dir}/src>
  7. $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>)
  8. if (UNIX AND NOT APPLE)
  9. - set_property(TARGET ${_library}
  10. - PROPERTY INSTALL_RPATH "$ORIGIN")
  11. +# set_property(TARGET ${_library}
  12. +# PROPERTY INSTALL_RPATH "$ORIGIN")
  13. elseif (APPLE)
  14. set_property(TARGET ${_library}
  15. PROPERTY INSTALL_RPATH "@loader_path")
  16. @@ -32,8 +32,8 @@ if (protobuf_BUILD_PROTOC_BINARIES)
  17. install(TARGETS protoc EXPORT protobuf-targets
  18. RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} COMPONENT protoc)
  19. if (UNIX AND NOT APPLE)
  20. - set_property(TARGET protoc
  21. - PROPERTY INSTALL_RPATH "$ORIGIN/../${CMAKE_INSTALL_LIBDIR}")
  22. +# set_property(TARGET protoc
  23. +# PROPERTY INSTALL_RPATH "$ORIGIN/../${CMAKE_INSTALL_LIBDIR}")
  24. elseif (APPLE)
  25. set_property(TARGET protoc
  26. PROPERTY INSTALL_RPATH "@loader_path/../lib")