Commit fad4eefc authored by Michael Kuron's avatar Michael Kuron
Browse files

Don't build VariantTest if Boost is not available

parent afa2be7d
......@@ -53,6 +53,7 @@
#cmakedefine WALBERLA_USE_STD_ANY
#cmakedefine WALBERLA_USE_STD_EXPERIMENTAL_OPTIONAL
#cmakedefine WALBERLA_USE_STD_OPTIONAL
#cmakedefine WALBERLA_USE_STD_VARIANT
#cmakedefine WALBERLA_BUILD_WITH_BACKTRACE
#ifdef WALBERLA_BUILD_WITH_BACKTRACE
#define WALBERLA_BACKTRACE_HEADER "${Backtrace_HEADER}"
......
......@@ -209,8 +209,10 @@ waLBerla_execute_test( NAME UNIQUEID PROCESSES 4)
waLBerla_compile_test( FILES VersionTest.cpp )
waLBerla_execute_test( NAME VersionTest )
waLBerla_compile_test( FILES VariantTest )
waLBerla_execute_test( NAME VariantTest )
if( WALBERLA_BUILD_WITH_BOOST OR WALBERLA_USE_STD_VARIANT )
waLBerla_compile_test( FILES VariantTest )
waLBerla_execute_test( NAME VariantTest )
endif()
##################
# load_balancing #
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment