Add a link to the seedfile for out-of-tree cmake builds

This commit is contained in:
Andrzej Kurek 2019-05-06 05:06:06 -04:00
parent b78cf2b261
commit 4a71cfa39f

View file

@ -69,6 +69,9 @@ add_test_suite(x509write)
# Make scripts and data files needed for testing available in an
# out-of-source build.
if (NOT ${CMAKE_CURRENT_BINARY_DIR} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR})
if(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/seedfile")
link_to_source(seedfile)
endif()
link_to_source(compat.sh)
link_to_source(data_files)
link_to_source(scripts)