Merge branch 'TIFF-217_m_lib_path' into 'master'

cmake: Do not use absolute libm path

Closes #217

See merge request libtiff/libtiff!156
This commit is contained in:
Roger Leigh 2020-10-09 09:21:55 +00:00
commit e61c593494

View File

@ -677,7 +677,7 @@ endif()
# Libraries required by libtiff # Libraries required by libtiff
set(TIFF_LIBRARY_DEPS) set(TIFF_LIBRARY_DEPS)
if(NOT MINGW AND M_LIBRARY) if(NOT MINGW AND M_LIBRARY)
list(APPEND TIFF_LIBRARY_DEPS ${M_LIBRARY}) list(APPEND TIFF_LIBRARY_DEPS "m")
endif() endif()
if(ZLIB_LIBRARIES) if(ZLIB_LIBRARIES)
list(APPEND TIFF_LIBRARY_DEPS ${ZLIB_LIBRARIES}) list(APPEND TIFF_LIBRARY_DEPS ${ZLIB_LIBRARIES})