|
@ -11,9 +11,9 @@ |
|
|
elseif (APPLE) |
|
|
elseif (APPLE) |
|
|
set_property(TARGET ${_library} |
|
|
set_property(TARGET ${_library} |
|
|
PROPERTY INSTALL_RPATH "@loader_path") |
|
|
PROPERTY INSTALL_RPATH "@loader_path") |
|
|
@@ -32,8 +32,8 @@ if (protobuf_BUILD_PROTOC_BINARIES)
|
|
|
|
|
|
install(TARGETS protoc EXPORT protobuf-targets |
|
|
|
|
|
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} COMPONENT protoc) |
|
|
|
|
|
|
|
|
@@ -34,8 +34,8 @@ if (protobuf_BUILD_PROTOC_BINARIES)
|
|
|
|
|
|
BUNDLE DESTINATION ${CMAKE_INSTALL_BINDIR} |
|
|
|
|
|
COMPONENT protoc) |
|
|
if (UNIX AND NOT APPLE) |
|
|
if (UNIX AND NOT APPLE) |
|
|
- set_property(TARGET protoc
|
|
|
- set_property(TARGET protoc
|
|
|
- PROPERTY INSTALL_RPATH "$ORIGIN/../${CMAKE_INSTALL_LIBDIR}")
|
|
|
- PROPERTY INSTALL_RPATH "$ORIGIN/../${CMAKE_INSTALL_LIBDIR}")
|
|
|