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
|
||||
set(TIFF_LIBRARY_DEPS)
|
||||
if(NOT MINGW AND M_LIBRARY)
|
||||
list(APPEND TIFF_LIBRARY_DEPS ${M_LIBRARY})
|
||||
list(APPEND TIFF_LIBRARY_DEPS "m")
|
||||
endif()
|
||||
if(ZLIB_LIBRARIES)
|
||||
list(APPEND TIFF_LIBRARY_DEPS ${ZLIB_LIBRARIES})
|
||||
|
Loading…
Reference in New Issue
Block a user