diff options
Diffstat (limited to 'ports/unittest-cpp/fix-include-path.patch')
| -rw-r--r-- | ports/unittest-cpp/fix-include-path.patch | 11 |
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
|
