From: Martin Matuska Date: Wed, 22 Feb 2017 22:28:40 +0000 (+0100) Subject: Revert "CMake: fix HAVE_LZMA_STREAM_ENCODER_MT test" X-Git-Tag: v3.3.1~15 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4b7779df5d812d735a5367b66ccb2395682049e8;p=thirdparty%2Flibarchive.git Revert "CMake: fix HAVE_LZMA_STREAM_ENCODER_MT test" This reverts commit 5f70aa2252b5cee16127697f5f690648bfccfeb2. --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 713295d53..9a1132cc7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -462,8 +462,6 @@ ENDIF() IF(LIBLZMA_FOUND) SET(HAVE_LIBLZMA 1) SET(HAVE_LZMA_H 1) - SET(CMAKE_REQUIRED_INCLUDES ${LZMA_INCLUDE_DIR}) - SET(CMAKE_REQUIRED_LIBRARIES ${LZMA_LIBRARIES}) INCLUDE_DIRECTORIES(${LIBLZMA_INCLUDE_DIRS}) LIST(APPEND ADDITIONAL_LIBS ${LIBLZMA_LIBRARIES}) # Test if a macro is needed for the library.