mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-27 15:25:54 -04:00
CMake: Use MODULE mode in find_package() for OpenEXR
Otherwise a system OpenEXRConfig.cmake may end up getting picked up, which operates differently.
This commit is contained in:
parent
1ff11c1e16
commit
ae078046d6
@ -369,7 +369,7 @@ package_option(TIFF "Enable support for loading .tif images.")
|
||||
package_status(TIFF "libtiff")
|
||||
|
||||
# OpenEXR
|
||||
find_package(OpenEXR QUIET)
|
||||
find_package(OpenEXR QUIET MODULE)
|
||||
|
||||
package_option(OpenEXR "Enable support for loading .exr images.")
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user