From Ulrich Hertlien, "'m was getting a build failure from the OpenEXR reader on Mac OS X. It was complaining about undefined references to half::convert(int). I believe this is because the EXR plugin doesn't explicitly link against the Half library.
Attached is a modified FindOpenEXR.cmake module that locates IlmIlf and Half, as well as a modified exr/CMakeLists.txt that picks up this change. Also attached are some typo fixes for CMakeModules. Cheers,"
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
# Locate gdal
|
||||
# Locate zlib
|
||||
# This module defines
|
||||
# ZLIB_LIBRARY
|
||||
# ZLIB_FOUND, if false, do not try to link to gdal
|
||||
# ZLIB_FOUND, if false, do not try to link to zlib
|
||||
# ZLIB_INCLUDE_DIR, where to find the headers
|
||||
#
|
||||
# $ZLIB_DIR is an environment variable that would
|
||||
# correspond to the ./configure --prefix=$ZLIB_DIR
|
||||
# used in building gdal.
|
||||
# used in building zlib.
|
||||
#
|
||||
# Created by Ulrich Hertlein.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user