-
Notifications
You must be signed in to change notification settings - Fork 6.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[xerces-c] Avoid building executables (#4576)
- Loading branch information
1 parent
a589f9f
commit cc3fae8
Showing
3 changed files
with
27 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
Source: xerces-c | ||
Version: 3.2.2-4 | ||
Version: 3.2.2-5 | ||
Description: Xerces-C++ is a XML parser, for parsing, generating, manipulating, and validating XML documents using the DOM, SAX, and SAX2 APIs. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
index 4254f89..aa08565 100644 | ||
--- a/CMakeLists.txt | ||
+++ b/CMakeLists.txt | ||
@@ -175,10 +175,16 @@ install( | ||
COMPONENT "development") | ||
|
||
# Process subdirectories | ||
+if(NOT DISABLE_DOC) | ||
add_subdirectory(doc) | ||
+endif() | ||
add_subdirectory(src) | ||
+if(NOT DISABLE_TESTS) | ||
add_subdirectory(tests) | ||
+endif() | ||
+if(NOT DISABLE_SAMPLES) | ||
add_subdirectory(samples) | ||
+endif() | ||
|
||
# Display configuration summary | ||
message(STATUS "") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters