vcpkg/ports/unittest-cpp/fix-include-path.patch
JonLiu1993 6dfe4ade80
[unittest-cpp] fix config.cmake file (#17122)
* [unittest-cpp] fix config.cmake file

* update version

* update vcpkg.json

* update version
2021-06-10 11:48:54 -07:00

12 lines
586 B
Diff

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