Merge pull request #2214 from joakim-hove/enable-3dprops-testing

Add cmake switch to enable testing of new 3D property implementation
This commit is contained in:
Joakim Hove
2019-12-07 13:33:56 +01:00
committed by GitHub

View File

@@ -49,6 +49,10 @@ if(opm-common_DIR AND NOT IS_DIRECTORY ${opm-common_DIR})
message(WARNING "Value ${opm-common_DIR} passed to variable"
" opm-common_DIR is not a directory")
endif()
option(ENABLE_3DPROPS_TESTING "Enable the in-constructor testing of 3D properties" OFF)
if (ENABLE_3DPROPS_TESTING)
add_definitions(-DENABLE_3DPROPS_TESTING)
endif()
find_package(opm-common REQUIRED)