diff options
| author | Robert Schumacher <roschuma@microsoft.com> | 2018-11-01 19:47:20 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-11-01 19:47:20 -0700 |
| commit | cc3fae8e5ca3e47ff2d7e1de428aba2d515bec54 (patch) | |
| tree | 52bfd57600f616dd73cfb0fe85b7739ef5311e1a /ports/xerces-c/disable-tests.patch | |
| parent | a589f9f9ed1623f005d1760c957fe5942df68001 (diff) | |
| download | vcpkg-cc3fae8e5ca3e47ff2d7e1de428aba2d515bec54.tar.gz vcpkg-cc3fae8e5ca3e47ff2d7e1de428aba2d515bec54.zip | |
[xerces-c] Avoid building executables (#4576)
Diffstat (limited to 'ports/xerces-c/disable-tests.patch')
| -rw-r--r-- | ports/xerces-c/disable-tests.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/ports/xerces-c/disable-tests.patch b/ports/xerces-c/disable-tests.patch new file mode 100644 index 000000000..843b022d7 --- /dev/null +++ b/ports/xerces-c/disable-tests.patch @@ -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 "")
|
