From 5093aaa05278030d07304588fa52466538794fe7 Mon Sep 17 00:00:00 2001 From: Kimball Thurston Date: Thu, 27 Jun 2019 22:05:00 +1200 Subject: [PATCH] Fixes the rpath setting to have the correct variable name Signed-off-by: Kimball Thurston --- cmake/OpenEXRSettings.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmake/OpenEXRSettings.cmake b/cmake/OpenEXRSettings.cmake index bbceec4497..11847b2d9b 100644 --- a/cmake/OpenEXRSettings.cmake +++ b/cmake/OpenEXRSettings.cmake @@ -91,8 +91,8 @@ if(OPENEXR_NAMESPACE_VERSIONING) endif() # MacOs/linux rpathing -set(CMAKE_MACOSX_RPATH 1) -set(BUILD_WITH_INSTALL_RPATH 1) +set(CMAKE_MACOSX_RPATH ON) +set(CMAKE_BUILD_WITH_INSTALL_RPATH ON) # Set position independent code (mostly for static builds, but not a bad idea regardless) set(CMAKE_POSITION_INDEPENDENT_CODE ON)