mirror of
https://github.com/ladislav-zezula/StormLib.git
synced 2026-01-30 19:16:29 +01:00
Merge pull request #146 from susnux/master
Merged. Thank you for the contribution.
This commit is contained in:
@@ -252,6 +252,7 @@ set(TOMMATH_FILES
|
||||
src/libtommath/bn_s_mp_sub.c
|
||||
)
|
||||
|
||||
# Needed for Windows
|
||||
set(ZLIB_BZIP2_FILES
|
||||
src/bzip2/blocksort.c
|
||||
src/bzip2/bzlib.c
|
||||
@@ -283,8 +284,12 @@ if(WIN32)
|
||||
else()
|
||||
find_package(ZLIB REQUIRED)
|
||||
find_package(BZip2 REQUIRED)
|
||||
|
||||
include_directories(${ZLIB_INCLUDE_DIR} ${BZIP2_INCLUDE_DIR})
|
||||
set(LINK_LIBS ${ZLIB_LIBRARY} ${BZIP2_LIBRARIES})
|
||||
|
||||
add_definitions(-D__SYS_ZLIB -D__SYS_BZLIB)
|
||||
|
||||
option(WITH_LIBTOMCRYPT "Use system LibTomCrypt library" OFF)
|
||||
if(WITH_LIBTOMCRYPT)
|
||||
set(LINK_LIBS ${LINK_LIBS} tomcrypt)
|
||||
|
||||
Reference in New Issue
Block a user