From 4a71cfa39f9b619a792345f04688da8419e6fd10 Mon Sep 17 00:00:00 2001 From: Andrzej Kurek Date: Mon, 6 May 2019 05:06:06 -0400 Subject: [PATCH] Add a link to the seedfile for out-of-tree cmake builds --- tests/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 482c98d02f..ecf6f34b2f 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -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)