From 4b1ad7419024db01cead8491c17dd656efc59eea Mon Sep 17 00:00:00 2001 From: Person Date: Sun, 12 May 2024 13:25:42 -0600 Subject: [PATCH] --Code changes -Fix link statement for new (>= 3.0) OpenEXR on linux builds. --- Builds/QtCreator/defaults.pri | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/Builds/QtCreator/defaults.pri b/Builds/QtCreator/defaults.pri index d5b853e..c2f84e3 100644 --- a/Builds/QtCreator/defaults.pri +++ b/Builds/QtCreator/defaults.pri @@ -104,10 +104,16 @@ win32 { LIBS += -lxml2 LIBS += -lz LIBS += -lpthread - LIBS += -lIex-3_1 - LIBS += -lIlmThread-3_1 - LIBS += -lImath-3_1 - LIBS += -lOpenEXR-3_1 + LIBS += -lHalf + LIBS += -lImath + LIBS += -lIex + +#For systems with older versions of OpenEXR < 3.0, use this. +# LIBS += -lIlmImf +#For systems with OpenEXR >= 3.0, use this. + LIBS += -lz + LIBS += -lIlmThread + LIBS += -lOpenEXR } macx {