From 52afec0816e3cc93670ee641593366c34980332b Mon Sep 17 00:00:00 2001 From: Robert Vinluan Date: Tue, 19 Apr 2022 10:53:05 -0400 Subject: [PATCH] Add custom '_sidefx' to the versioned namespace. --- cmake/OpenEXRSetup.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmake/OpenEXRSetup.cmake b/cmake/OpenEXRSetup.cmake index 2a0433f965..0b871915d2 100644 --- a/cmake/OpenEXRSetup.cmake +++ b/cmake/OpenEXRSetup.cmake @@ -20,8 +20,8 @@ endif() set(OPENEXR_CXX_STANDARD "${tmp}" CACHE STRING "C++ standard to compile against") set(tmp) -set(OPENEXR_NAMESPACE_CUSTOM "0" CACHE STRING "Whether the namespace has been customized (so external users know)") -set(OPENEXR_INTERNAL_IMF_NAMESPACE "Imf_${OPENEXR_VERSION_API}" CACHE STRING "Real namespace for OpenEXR that will end up in compiled symbols") +set(OPENEXR_NAMESPACE_CUSTOM "1" CACHE STRING "Whether the namespace has been customized (so external users know)") +set(OPENEXR_INTERNAL_IMF_NAMESPACE "Imf_${OPENEXR_VERSION_API}_sidefx" CACHE STRING "Real namespace for OpenEXR that will end up in compiled symbols") set(OPENEXR_IMF_NAMESPACE "Imf" CACHE STRING "Public namespace alias for OpenEXR") set(OPENEXR_PACKAGE_NAME "OpenEXR ${OPENEXR_VERSION}${OPENEXR_VERSION_RELEASE_TYPE}" CACHE STRING "Public string / label for displaying package")