aboutsummaryrefslogtreecommitdiff
path: root/ports/nuspell/cmake-disable-cli-and-docs.patch
diff options
context:
space:
mode:
authorRobert Schumacher <roschuma@microsoft.com>2020-04-16 13:24:21 -0700
committerGitHub <noreply@github.com>2020-04-16 13:24:21 -0700
commit8d44bdf9e8640e50100a32a7b6d5a9656ca5d9b9 (patch)
treee2bd2760785c13aa8c5aabe26ccf15941708ff66 /ports/nuspell/cmake-disable-cli-and-docs.patch
parent3d2e8c5ff8ae12d60d27f86255ae233e3cb4d46f (diff)
parenta21f8d2fc8180f003410b29e20402ba3e1d67df4 (diff)
downloadvcpkg-8d44bdf9e8640e50100a32a7b6d5a9656ca5d9b9.tar.gz
vcpkg-8d44bdf9e8640e50100a32a7b6d5a9656ca5d9b9.zip
Merge pull request #10737 from nuspell/nuspell
[nuspell] update port to v3.1.0
Diffstat (limited to 'ports/nuspell/cmake-disable-cli-and-docs.patch')
-rw-r--r--ports/nuspell/cmake-disable-cli-and-docs.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/ports/nuspell/cmake-disable-cli-and-docs.patch b/ports/nuspell/cmake-disable-cli-and-docs.patch
index 8b2caa51c..fd6f82fac 100644
--- a/ports/nuspell/cmake-disable-cli-and-docs.patch
+++ b/ports/nuspell/cmake-disable-cli-and-docs.patch
@@ -1,5 +1,5 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 6ca0212..8c14d24 100644
+index a498118..161f0f3 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -18,8 +18,6 @@ if (subproject)
@@ -8,9 +8,9 @@ index 6ca0212..8c14d24 100644
-add_subdirectory(docs)
-
- option(BUILD_TESTING "Build the testing tree." ON)
- if (BUILD_TESTING)
- enable_testing()
+ function(find_catch2_from_source)
+ set(Catch2_FOUND Catch2-NOTFOUND PARENT_SCOPE)
+ set(catch_cmake_lists ${PROJECT_SOURCE_DIR}/external/Catch2/CMakeLists.txt)
diff --git a/src/nuspell/CMakeLists.txt b/src/nuspell/CMakeLists.txt
index 22894f6..d58ad43 100644
--- a/src/nuspell/CMakeLists.txt