Skip to content

Commit 83aef71

Browse files
committed
ci: build cpp tests with debug
1 parent dae6d29 commit 83aef71

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,8 @@ if (BUILD_TESTING AND Catch2_FOUND)
6666
CXX_STANDARD 17
6767
)
6868
target_include_directories(cpp_tests PRIVATE ${PROJECT_SOURCE_DIR}/src/py3exiv2bind/core)
69+
# As of 11/20/2025, this is here because when imported from conan, cmake seems to unable to locate the header files
70+
set_property(TARGET Catch2::Catch2WithMain APPEND PROPERTY INCLUDE_DIRECTORIES $<TARGET_PROPERTY:Catch2::Catch2WithMain,INTERFACE_INCLUDE_DIRECTORIES>)
6971
target_link_libraries(cpp_tests PRIVATE Catch2::Catch2WithMain exiv2lib)
7072

7173
list(APPEND CMAKE_MODULE_PATH ${catch_SOURCE_DIR}/contrib/)

0 commit comments

Comments
 (0)