Skip to content

Commit

Permalink
Fix attempting to generate auxiliary test when fdb-tools are disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisspyB committed Aug 7, 2024
1 parent 1122f01 commit 0da5980
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions tests/fdb/tools/auxiliary/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
ecbuild_configure_file( move_auxiliary.sh.in fdb_move_auxiliary.sh @ONLY )
if (HAVE_FDB_BUILD_TOOLS)
ecbuild_configure_file( move_auxiliary.sh.in fdb_move_auxiliary.sh @ONLY )

ecbuild_add_test(
TYPE SCRIPT
CONDITION HAVE_FDB_BUILD_TOOLS
COMMAND fdb_move_auxiliary.sh)
endif()

ecbuild_add_test(
TYPE SCRIPT
CONDITION HAVE_FDB_BUILD_TOOLS
COMMAND fdb_move_auxiliary.sh)

0 comments on commit 0da5980

Please sign in to comment.