diff options
author | Ladislav Zezula <zezula@volny.cz> | 2016-10-15 08:33:17 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-15 08:33:17 +0200 |
commit | 0d77ab2d191d84122d62f5f74fd5862e79b2ef30 (patch) | |
tree | 84bbacf4f3566818627a7c1ce1c6514ed257add8 | |
parent | a5b253bfc358c34d92e6b20694136a533f9967a4 (diff) | |
parent | 7e7045c49e42b2f2e50d0392342cc89ec3d489ea (diff) |
Merge pull request #89 from cen1/bzip2linux
Merged. Thanks for the tuneup :-)
-rw-r--r-- | CMakeLists.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index c3200fd..18b0219 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -261,6 +261,11 @@ set(TEST_SRC_FILES add_definitions(-D_7ZIP_ST -DBZ_STRICT_ANSI) +if (UNIX) + #Check for Bzip2 + find_package (BZip2 REQUIRED) +endif() + if(WIN32) if(MSVC) message(STATUS "Using MSVC") |