Skip to content

Commit

Permalink
Added SIMPLNX_DOWNLOAD_TEST_FILES_FIRST option
Browse files Browse the repository at this point in the history
* Forces test files to be downloaded before simplnx
* This will hopefully fix the issue of downloads failing on the CI sporadically

Signed-off-by: Jared Duffey <[email protected]>
  • Loading branch information
JDuffeyBQ committed Aug 26, 2024
1 parent 7fb7ffe commit 9240e1e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -829,6 +829,11 @@ target_include_directories(simplnx
$<INSTALL_INTERFACE:include>
)

cmake_dependent_option(SIMPLNX_DOWNLOAD_TEST_FILES_FIRST "Forces test files to download before simplnx builds" OFF "SIMPLNX_DOWNLOAD_TEST_FILES" OFF)
if(SIMPLNX_DOWNLOAD_TEST_FILES_FIRST)
add_dependencies(simplnx Fetch_Remote_Data_Files)
endif()

# ------------------------------------------------------------------------------
# CLI Executable
# ------------------------------------------------------------------------------
Expand Down

0 comments on commit 9240e1e

Please sign in to comment.