From d8cf464f7d3d725de8759d790089c88fa3013e9d Mon Sep 17 00:00:00 2001 From: Andrzej Kurek Date: Mon, 6 May 2019 06:18:24 -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 513979454..42d99d623 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -148,6 +148,9 @@ endif() # 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(data_files) link_to_source(scripts) link_to_source(suites)