cmake: Do not use absolute libm path
This commit is contained in:
parent
a4cae3b8a3
commit
7c9ca61785
@ -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