Merge pull request #105 from ARMmbed/test-link-seedfile-02

Add a link to the seedfile for out-of-tree cmake builds
This commit is contained in:
Jaeden Amero 2019-05-14 08:42:46 +01:00 committed by GitHub
commit 81f9539037
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)