From cb426727404522c5841a887369f2ff6ccee20ef8 Mon Sep 17 00:00:00 2001 From: Kevin Wheatley Date: Wed, 6 Sep 2023 13:02:25 +0100 Subject: [PATCH] Fix wrong RPATH being injected into Python bindings DSO Signed-off-by: Kevin Wheatley --- src/bindings/python/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bindings/python/CMakeLists.txt b/src/bindings/python/CMakeLists.txt index d7da50fd79..94af56302e 100644 --- a/src/bindings/python/CMakeLists.txt +++ b/src/bindings/python/CMakeLists.txt @@ -170,7 +170,7 @@ if(UNIX) set_property(TARGET PyOpenColorIO PROPERTY POSITION_INDEPENDENT_CODE ON) endif() -if (UNIX AND NOT CMAKE_SKIP_RPATH AND NOT CMAKE_INSTALL_RPATH) +if (UNIX AND NOT CMAKE_SKIP_RPATH AND CMAKE_INSTALL_RPATH) # Update the default RPATH so the Python binding dynamic library can find the OpenColorIO # dynamic library based on the default installation directory structure. if (APPLE)