diff --git a/ApplicationLibCode/UnitTests/RimEmReader-Test.cpp b/ApplicationLibCode/UnitTests/RimEmReader-Test.cpp index d4eb14ec9d..e7cc4cefbc 100644 --- a/ApplicationLibCode/UnitTests/RimEmReader-Test.cpp +++ b/ApplicationLibCode/UnitTests/RimEmReader-Test.cpp @@ -16,6 +16,8 @@ // ///////////////////////////////////////////////////////////////////////////////// +#ifdef USE_HDF5 + #include "gtest/gtest.h" #include "RigEclipseCaseData.h" @@ -104,3 +106,5 @@ TEST( RigReservoirTest, DISABLED_TestImportGrid ) { } } + +#endif // USE_HDF5