]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
Revert "CMake: fix HAVE_LZMA_STREAM_ENCODER_MT test"
authorMartin Matuska <martin@matuska.org>
Wed, 22 Feb 2017 22:28:40 +0000 (23:28 +0100)
committerMartin Matuska <martin@matuska.org>
Wed, 22 Feb 2017 22:28:45 +0000 (23:28 +0100)
This reverts commit 5f70aa2252b5cee16127697f5f690648bfccfeb2.

CMakeLists.txt

index 713295d535b3f08a7d447ca6db5b6888c8117faa..9a1132cc72871884f407e7e122036f055a4bfb52 100644 (file)
@@ -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.