diff --git a/tests/fdb/tools/auxiliary/CMakeLists.txt b/tests/fdb/tools/auxiliary/CMakeLists.txt index 6f4df74e5..aa8fcd9cf 100644 --- a/tests/fdb/tools/auxiliary/CMakeLists.txt +++ b/tests/fdb/tools/auxiliary/CMakeLists.txt @@ -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) \ No newline at end of file