Skip to content

Commit ddbbb00

Browse files
author
Clement Champetier
committed
CMake: update RPATH in avtranscoder library
* An absolute could be dangerous in other platform. * Put a relative path to the libraries which are put in the GitHub releases.
1 parent 02e9b58 commit ddbbb00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ else()
4040
endif()
4141
set_target_properties(avtranscoder-shared PROPERTIES SOVERSION ${AVTRANSCODER_VERSION_MAJOR})
4242
set_target_properties(avtranscoder-shared PROPERTIES VERSION ${AVTRANSCODER_VERSION})
43-
set_target_properties(avtranscoder-shared PROPERTIES INSTALL_RPATH_USE_LINK_PATH 1)
43+
set_target_properties(avtranscoder-shared PROPERTIES INSTALL_RPATH "$ORIGIN/../../install-dependency/lib:$ORIGIN")
4444
target_link_libraries(avtranscoder-shared ${FFMPEG_LIBRARIES})
4545
target_include_directories(avtranscoder-shared PUBLIC ${AVTRANSCODER_SRC_PATH} ${FFMPEG_INCLUDE_DIR})
4646

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy