summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-02-27 13:53:08 (GMT)
committerBrad King <brad.king@kitware.com>2017-02-27 13:53:08 (GMT)
commit29528cc33e929b3c034b1491842ddaf91b3855cf (patch)
tree38e9e33b0a258f30f83062c9c591bda0369dac8e
parent62d0e22325d36e5f9d61ccfbef0d68cfe1935f1b (diff)
downloadCMake-29528cc33e929b3c034b1491842ddaf91b3855cf.zip
CMake-29528cc33e929b3c034b1491842ddaf91b3855cf.tar.gz
CMake-29528cc33e929b3c034b1491842ddaf91b3855cf.tar.bz2
libarchive: Remove liblzma from introspection tests
This was added upstream but does not make sense in CMake because we may replace the library with a logical target name that will not work inside a `try_compile`.
-rw-r--r--Utilities/cmlibarchive/CMakeLists.txt2
1 files changed, 0 insertions, 2 deletions
diff --git a/Utilities/cmlibarchive/CMakeLists.txt b/Utilities/cmlibarchive/CMakeLists.txt
index f4a34ab..bfe6b13 100644
--- a/Utilities/cmlibarchive/CMakeLists.txt
+++ b/Utilities/cmlibarchive/CMakeLists.txt
@@ -295,8 +295,6 @@ ENDIF()
IF(LIBLZMA_FOUND)
SET(HAVE_LIBLZMA 1)
SET(HAVE_LZMA_H 1)
- SET(CMAKE_REQUIRED_INCLUDES ${LIBLZMA_INCLUDE_DIR})
- SET(CMAKE_REQUIRED_LIBRARIES ${LIBLZMA_LIBRARIES})
INCLUDE_DIRECTORIES(${LIBLZMA_INCLUDE_DIRS})
LIST(APPEND ADDITIONAL_LIBS ${LIBLZMA_LIBRARIES})
IF(CMAKE_USE_SYSTEM_LIBLZMA)