cmake: add libz to end of linker line on Linux
While I don't need this when building on Fedora 20, OBS builds for openSUSE appear to fail without this. Strange. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
352433723d
commit
5722d5f0dc
@ -155,6 +155,8 @@ if(CMAKE_SYSTEM_NAME STREQUAL "Linux")
|
||||
if(NOT DEFINED LRELEASE)
|
||||
set(LRELEASE lrelease)
|
||||
endif()
|
||||
# in some builds we appear to be missing libz for some strange reason...
|
||||
set(SUBSURFACE_LINK_LIBRARIES ${SUBSURFACE_LINK_LIBRARIES} -lz)
|
||||
ENDIF()
|
||||
IF(CMAKE_SYSTEM_NAME STREQUAL "Darwin")
|
||||
set(SUBSURFACE_TARGET Subsurface)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user