Skip to content

Commit 82b3b83

Browse files
authored
Merge pull request #87 from Patater/submodule-library-include
tests: Add library to include path when used as submodule
2 parents b55de7e + 0a504c0 commit 82b3b83

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,8 @@ function(add_test_suite suite_name)
5252
target_link_libraries(${exe_name} ${libs})
5353
target_include_directories(${exe_name}
5454
PUBLIC ${CMAKE_SOURCE_DIR}/include/
55-
PUBLIC ${CMAKE_SOURCE_DIR}/crypto/include/)
55+
PUBLIC ${CMAKE_SOURCE_DIR}/crypto/include/
56+
PRIVATE ${CMAKE_SOURCE_DIR}/crypto/library/)
5657

5758
if(${data_name} MATCHES ${SKIP_TEST_SUITES_REGEX})
5859
message(STATUS "The test suite ${data_name} will not be executed.")

0 commit comments

Comments
 (0)