Skip to content
Snippets Groups Projects
Commit 33bc59e03d4c authored by Nick Wellnhofer's avatar Nick Wellnhofer
Browse files

cmake: Fix build with libxslt and libxml2 as subprojects

parent eb744d99db4e
No related branches found
No related tags found
No related merge requests found
......@@ -32,4 +32,5 @@
include(CMakePackageConfigHelpers)
include(GNUInstallDirs)
if(NOT TARGET LibXml2)
find_package(LibXml2 CONFIG REQUIRED)
......@@ -35,4 +36,5 @@
find_package(LibXml2 CONFIG REQUIRED)
endif()
option(BUILD_SHARED_LIBS "Build shared libraries" ON)
option(LIBXSLT_WITH_DEBUGGER "Add the debugging support" ON)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment