aboutsummaryrefslogtreecommitdiff
path: root/ports/msix/fix-dependency-catch2.patch
diff options
context:
space:
mode:
authorPhoebe <20694052+PhoebeHui@users.noreply.github.com>2020-01-10 07:18:40 +0800
committerdan-shaw <51385773+dan-shaw@users.noreply.github.com>2020-01-09 15:18:40 -0800
commit1540a0db42fbb69112d84bbf3e78bfa4021cdee6 (patch)
tree8269062174d212e902533d5d8663d4588904394d /ports/msix/fix-dependency-catch2.patch
parentb5344cab1bba59e0cf6ae8e64ad3e0823bae7c75 (diff)
downloadvcpkg-1540a0db42fbb69112d84bbf3e78bfa4021cdee6.tar.gz
vcpkg-1540a0db42fbb69112d84bbf3e78bfa4021cdee6.zip
[msix] upgrade to 1.7 (#8934)
Diffstat (limited to 'ports/msix/fix-dependency-catch2.patch')
-rw-r--r--ports/msix/fix-dependency-catch2.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/ports/msix/fix-dependency-catch2.patch b/ports/msix/fix-dependency-catch2.patch
new file mode 100644
index 000000000..4b2030566
--- /dev/null
+++ b/ports/msix/fix-dependency-catch2.patch
@@ -0,0 +1,22 @@
+diff --git a/src/test/msixtest/CMakeLists.txt b/src/test/msixtest/CMakeLists.txt
+index e991231..e5c43ed 100644
+--- a/src/test/msixtest/CMakeLists.txt
++++ b/src/test/msixtest/CMakeLists.txt
+@@ -5,6 +5,8 @@
+ cmake_minimum_required(VERSION 3.8.0 FATAL_ERROR)
+ project (msixtest)
+
++find_package(Catch2 CONFIG REQUIRED)
++
+ if(WIN32)
+ set(DESCRIPTION "msixtest manifest")
+ configure_file(${MSIX_PROJECT_ROOT}/manifest.cmakein ${MSIX_TEST_OUTPUT_DIRECTORY}/${PROJECT_NAME}.exe.manifest CRLF)
+@@ -91,7 +93,7 @@ set_target_properties(${PROJECT_NAME} PROPERTIES
+ )
+
+ add_dependencies(${PROJECT_NAME} msix)
+-target_link_libraries(${PROJECT_NAME} msix)
++target_link_libraries(${PROJECT_NAME} msix Catch2::Catch2)
+
+ # For windows copy the library
+ if(WIN32)