mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Add cmake switch to enable testing of new 3D property implementation
This commit is contained in:
parent
712a902c37
commit
5259fb93ca
@ -49,6 +49,10 @@ if(opm-common_DIR AND NOT IS_DIRECTORY ${opm-common_DIR})
|
|||||||
message(WARNING "Value ${opm-common_DIR} passed to variable"
|
message(WARNING "Value ${opm-common_DIR} passed to variable"
|
||||||
" opm-common_DIR is not a directory")
|
" opm-common_DIR is not a directory")
|
||||||
endif()
|
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)
|
find_package(opm-common REQUIRED)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user