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:
commit
e61c593494
@ -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})
|
||||||
|
Loading…
Reference in New Issue
Block a user