diff options
| author | IMFTool <imftool@t-online.de> | 2021-05-12 18:26:31 +0200 |
|---|---|---|
| committer | IMFTool <imftool@t-online.de> | 2021-05-12 18:26:31 +0200 |
| commit | ade089c31cfcee8be93023835d7c2e49bf1ade38 (patch) | |
| tree | 46e2dcf074af9a78730c6e14d7625f54ab8672ac /src | |
| parent | 3ca74908e673c88ca0ef4350fb74df184aab3332 (diff) | |
CMake patch for WITHOUT_XML option
Diffstat (limited to 'src')
| -rw-r--r-- | src/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
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)
|
