Merge pull request #87 from Patater/submodule-library-include
tests: Add library to include path when used as submodule
This commit is contained in:
commit
82b3b83d54
1 changed files with 2 additions and 1 deletions
|
@ -52,7 +52,8 @@ function(add_test_suite suite_name)
|
|||
target_link_libraries(${exe_name} ${libs})
|
||||
target_include_directories(${exe_name}
|
||||
PUBLIC ${CMAKE_SOURCE_DIR}/include/
|
||||
PUBLIC ${CMAKE_SOURCE_DIR}/crypto/include/)
|
||||
PUBLIC ${CMAKE_SOURCE_DIR}/crypto/include/
|
||||
PRIVATE ${CMAKE_SOURCE_DIR}/crypto/library/)
|
||||
|
||||
if(${data_name} MATCHES ${SKIP_TEST_SUITES_REGEX})
|
||||
message(STATUS "The test suite ${data_name} will not be executed.")
|
||||
|
|
Loading…
Reference in a new issue