From 29528cc33e929b3c034b1491842ddaf91b3855cf Mon Sep 17 00:00:00 2001 From: Brad King Date: Mon, 27 Feb 2017 08:53:08 -0500 Subject: 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`. --- Utilities/cmlibarchive/CMakeLists.txt | 2 -- 1 file changed, 2 deletions(-) (limited to 'Utilities') diff --git a/Utilities/cmlibarchive/CMakeLists.txt b/Utilities/cmlibarchive/CMakeLists.txt index f4a34ab85c..bfe6b131e6 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) -- cgit v1.2.1