From ade089c31cfcee8be93023835d7c2e49bf1ade38 Mon Sep 17 00:00:00 2001 From: IMFTool Date: Wed, 12 May 2021 18:26:31 +0200 Subject: CMake patch for WITHOUT_XML option --- src/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index e40f7b1..756b057 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -21,7 +21,7 @@ else() message(STATUS "Building without encryption support") endif() -if (XercescppLib_PATH AND XercescppLib_Debug_PATH AND XercescppLib_include_DIR) +if (NOT WITHOUT_XML AND XercescppLib_PATH AND XercescppLib_Debug_PATH AND XercescppLib_include_DIR) set (HAVE_XERCES_C 1) message(STATUS "Building with XML parse support") add_definitions(/DHAVE_XERCES_C=1) -- cgit v1.2.3