From 2a27094852913d827bb1621c9cc798e56671e394 Mon Sep 17 00:00:00 2001 From: Chuck Atkins Date: Wed, 18 Sep 2019 15:49:05 -0400 Subject: [PATCH] Fix ZFP and SZ Fortran CMake errors --- testing/adios2/bindings/fortran/CMakeLists.txt | 11 ++--------- .../adios2/bindings/fortran/operation/CMakeLists.txt | 8 ++++++++ 2 files changed, 10 insertions(+), 9 deletions(-) create mode 100644 testing/adios2/bindings/fortran/operation/CMakeLists.txt diff --git a/testing/adios2/bindings/fortran/CMakeLists.txt b/testing/adios2/bindings/fortran/CMakeLists.txt index 00885a7b98..17d7d24c6c 100644 --- a/testing/adios2/bindings/fortran/CMakeLists.txt +++ b/testing/adios2/bindings/fortran/CMakeLists.txt @@ -70,15 +70,8 @@ if(mpi) fortran_add_test_helper(BPWriteMemorySelectionRead2D TRUE) fortran_add_test_helper(BPWriteMemorySelectionRead3D TRUE) fortran_add_test_helper(NullEngine TRUE) - - if(ADIOS2_HAVE_SZ) - fortran_add_test_helper(BPWriteReadSZ2D TRUE) - fortran_add_test_helper(BPWriteReadSZ3D TRUE) - endif() - - if(ADIOS2_HAVE_ZFP) - fortran_add_test_helper(BPWriteReadZfp2D TRUE) - endif() + + add_subdirectory(operation) # F2C add_executable(Test.Bindings.Fortran.F2C.BPReadFBlocks diff --git a/testing/adios2/bindings/fortran/operation/CMakeLists.txt b/testing/adios2/bindings/fortran/operation/CMakeLists.txt new file mode 100644 index 0000000000..0dfe187afe --- /dev/null +++ b/testing/adios2/bindings/fortran/operation/CMakeLists.txt @@ -0,0 +1,8 @@ +if(ADIOS2_HAVE_SZ) + fortran_add_test_helper(BPWriteReadSZ2D TRUE) + fortran_add_test_helper(BPWriteReadSZ3D TRUE) +endif() + +if(ADIOS2_HAVE_ZFP) + fortran_add_test_helper(BPWriteReadZfp2D TRUE) +endif()