From ba2b41e309eac66af8d555d98b1af999625697fb Mon Sep 17 00:00:00 2001 From: Kevin Wheatley Date: Thu, 7 Dec 2023 22:56:48 +0000 Subject: [PATCH] Fix wrong RPATH being injected into Python bindings DSO (#1849) Signed-off-by: Kevin Wheatley Co-authored-by: Doug Walker --- 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 d7da50fd7..94af56302 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)