summaryrefslogtreecommitdiff
path: root/libxslt-config.cmake.cmake.in
diff options
context:
space:
mode:
Diffstat (limited to 'libxslt-config.cmake.cmake.in')
-rw-r--r--libxslt-config.cmake.cmake.in13
1 files changed, 3 insertions, 10 deletions
diff --git a/libxslt-config.cmake.cmake.in b/libxslt-config.cmake.cmake.in
index 31764602..0577fc41 100644
--- a/libxslt-config.cmake.cmake.in
+++ b/libxslt-config.cmake.cmake.in
@@ -78,25 +78,18 @@ include(CMakeFindDependencyMacro)
find_dependency(LibXml2 CONFIG)
list(APPEND LIBXSLT_INCLUDE_DIRS ${LIBXML2_INCLUDE_DIRS})
list(APPEND LIBXSLT_LIBRARIES ${LIBXML2_LIBRARIES})
-list(APPEND LIBXSLT_EXSLT_INCLUDE_DIRS ${LIBXML2_INCLUDE_DIRS})
-list(APPEND LIBXSLT_EXSLT_LIBRARIES ${LIBXML2_LIBRARIES})
if(NOT @BUILD_SHARED_LIBS@)
- if(@LIBXSLT_WITH_THREADS@)
- find_dependency(Threads)
- list(APPEND LIBXSLT_LIBRARIES ${CMAKE_THREAD_LIBS_INIT})
- list(APPEND LIBXSLT_EXSLT_LIBRARIES ${CMAKE_THREAD_LIBS_INIT})
- endif()
-
if(@LIBXSLT_WITH_CRYPTO@)
list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_LIST_DIR})
find_dependency(Gcrypt)
- list(APPEND LIBXSLT_LIBRARIES ${GCRYPT_LIBRARIES})
list(APPEND LIBXSLT_EXSLT_LIBRARIES ${GCRYPT_LIBRARIES})
endif()
if(UNIX)
list(APPEND LIBXSLT_LIBRARIES m)
- list(APPEND LIBXSLT_EXSLT_LIBRARIES m)
endif()
endif()
+
+list(APPEND LIBXSLT_EXSLT_INCLUDE_DIRS ${LIBXSLT_INCLUDE_DIRS})
+list(APPEND LIBXSLT_EXSLT_LIBRARIES ${LIBXSLT_LIBRARIES})