mirror of
https://github.com/reactos/CMake.git
synced 2024-12-02 00:26:18 +00:00
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`.
This commit is contained in:
parent
62d0e22325
commit
29528cc33e
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user