You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@trafficserver.apache.org by "cmcfarlen (via GitHub)" <gi...@apache.org> on 2023/08/28 22:40:13 UTC
[GitHub] [trafficserver] cmcfarlen commented on a diff in pull request #10283: cmake: add tests for proxy/hdrs
cmcfarlen commented on code in PR #10283:
URL: https://github.com/apache/trafficserver/pull/10283#discussion_r1308025850
##########
CMakeLists.txt:
##########
@@ -307,6 +307,9 @@ endif()
# Catch2 for tests
set(CATCH_INCLUDE_DIR ${CMAKE_SOURCE_DIR}/lib/catch2)
+add_library(catch::catch INTERFACE IMPORTED)
+target_include_directories(catch::catch INTERFACE ${CMAKE_SOURCE_DIR}/include ${CATCH_INCLUDE_DIR})
Review Comment:
We vendor the catch header file so we don't use the find package. I just wanted the prettier way of getting the include :smile:
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@trafficserver.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org