buddhi1980 / mandelbulber2

Official repository for Mandelbulber v2
GNU General Public License v3.0
894 stars 116 forks source link

Upgrade build files for linking with OpenEXR 3 #901

Closed cagelight closed 2 years ago

cagelight commented 2 years ago

Resolves #900 This is my fix for it, I tested both build paths and everything seems to work great.

buddhi1980 commented 2 years ago

Will your patch keep backward compatibility (with EXR 2)?

cagelight commented 2 years ago

Honestly I am not sure, and I don't have an easy way to test that in my current setup. That said, both methods now rely solely on pkg-config, which should provide stable behavior between OpenEXR 2 and 3. I would be surprised if it didn't work.

buddhi1980 commented 2 years ago

I will try it. In case if it doesn't work, I will revert changes.

buddhi1980 commented 2 years ago

Works file with EXR 2.5.7. Thank you for the patch.