Add cmake switch to enable testing of new 3D property implementation

This commit is contained in:
Joakim Hove 2019-12-07 12:34:07 +01:00
parent 712a902c37
commit 5259fb93ca

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)