aboutsummaryrefslogtreecommitdiff
path: root/ports/unittest-cpp/fix-include-path.patch
diff options
context:
space:
mode:
authorJonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>2021-06-11 02:48:54 +0800
committerGitHub <noreply@github.com>2021-06-10 11:48:54 -0700
commit6dfe4ade80917f951f2b1c5604b5ac8ff6c3013c (patch)
tree841d9646bdcca0405de7a4d8d8ed39ea1fdbc8a9 /ports/unittest-cpp/fix-include-path.patch
parent4a753ba9ec082f7af7d0e98f60c05cdbd72373d5 (diff)
downloadvcpkg-6dfe4ade80917f951f2b1c5604b5ac8ff6c3013c.tar.gz
vcpkg-6dfe4ade80917f951f2b1c5604b5ac8ff6c3013c.zip
[unittest-cpp] fix config.cmake file (#17122)
* [unittest-cpp] fix config.cmake file * update version * update vcpkg.json * update version
Diffstat (limited to 'ports/unittest-cpp/fix-include-path.patch')
-rw-r--r--ports/unittest-cpp/fix-include-path.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/ports/unittest-cpp/fix-include-path.patch b/ports/unittest-cpp/fix-include-path.patch
new file mode 100644
index 000000000..32455dec5
--- /dev/null
+++ b/ports/unittest-cpp/fix-include-path.patch
@@ -0,0 +1,11 @@
+diff --git a/cmake/UnitTest++Config.cmake b/cmake/UnitTest++Config.cmake
+index afe165c..cc43a2b 100644
+--- a/cmake/UnitTest++Config.cmake
++++ b/cmake/UnitTest++Config.cmake
+@@ -1,2 +1,4 @@
+ include("${CMAKE_CURRENT_LIST_DIR}/UnitTest++Targets.cmake")
+-get_filename_component(UTPP_INCLUDE_DIRS "${CMAKE_CURRENT_LIST_DIR}/../../../include/" ABSOLUTE)
++get_filename_component(UTPP_INCLUDE_DIRS "${CMAKE_CURRENT_LIST_DIR}/../../include/" ABSOLUTE)
++
++get_filename_component(UnitTest++_INCLUDE_DIRS "${CMAKE_CURRENT_LIST_DIR}/../../include/" ABSOLUTE)
+\ No newline at end of file