Files
guru/dev-cpp/drogon/files/drogon-1.8.4-fix-test-build.patch
Ronny (tastytea) Gutbrod e915ffc686 dev-cpp/drogon: add 1.8.4
Signed-off-by: Ronny (tastytea) Gutbrod <gentoo@tastytea.de>
2023-03-30 21:48:18 +02:00

16 lines
501 B
Diff

# fix build error that happens without trantor submodule
# upstream: <https://github.com/drogonframework/drogon/issues/1551>
diff --git a/lib/tests/CMakeLists.txt b/lib/tests/CMakeLists.txt
index 62a2240..424fec2 100644
--- a/lib/tests/CMakeLists.txt
+++ b/lib/tests/CMakeLists.txt
@@ -42,6 +42,7 @@ else()
endif()
add_executable(unittest ${UNITTEST_SOURCES})
+target_include_directories(unittest PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}/..")
if (BUILD_CTL)
set(INTEGRATION_TEST_CLIENT_SOURCES