Handle zlib / bzip2 not found
This commit is contained in:
parent
b28e998a84
commit
0d7916b7c2
1 changed files with 2 additions and 0 deletions
|
|
@ -323,6 +323,7 @@ if( ZLIB_FOUND )
|
||||||
add_definitions( -DHAS_ZLIB )
|
add_definitions( -DHAS_ZLIB )
|
||||||
else()
|
else()
|
||||||
MESSAGE( STATUS "zlib not found" )
|
MESSAGE( STATUS "zlib not found" )
|
||||||
|
set( ZLIB_LIBRARIES "" )
|
||||||
endif( ZLIB_FOUND )
|
endif( ZLIB_FOUND )
|
||||||
|
|
||||||
find_package( BZip2 )
|
find_package( BZip2 )
|
||||||
|
|
@ -331,6 +332,7 @@ if( BZIP2_FOUND )
|
||||||
add_definitions( -DHAS_BZIP2 )
|
add_definitions( -DHAS_BZIP2 )
|
||||||
else()
|
else()
|
||||||
MESSAGE( STATUS "bzip2 not found" )
|
MESSAGE( STATUS "bzip2 not found" )
|
||||||
|
set( BZIP2_LIBRARIES "" )
|
||||||
endif( BZIP2_FOUND )
|
endif( BZIP2_FOUND )
|
||||||
|
|
||||||
# This will become unnecessary once we update to websocketpp which fixes upstream issue #395
|
# This will become unnecessary once we update to websocketpp which fixes upstream issue #395
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue