added find cwrap from opm-common
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
find_package (PythonInterp REQUIRED)
|
||||
find_package (ERTPython)
|
||||
find_package (Cwrap)
|
||||
|
||||
if (ERT_PYTHON_PATH)
|
||||
add_subdirectory( c_inter )
|
||||
|
||||
@@ -57,6 +57,6 @@ function (addPythonTest TEST_NAME TEST_CLASS)
|
||||
if(TEST_OPTIONS_ENVIRONMENT)
|
||||
set_property(TEST python.tests.${TEST_NAME} PROPERTY ENVIRONMENT ${TEST_OPTIONS_ENVIRONMENT})
|
||||
endif()
|
||||
set_property(TEST python.tests.${TEST_NAME} PROPERTY ENVIRONMENT "PYTHONPATH=${ERT_PYTHON_PATH}:${PYTHONPATH}")
|
||||
set_property(TEST python.tests.${TEST_NAME} PROPERTY ENVIRONMENT "PYTHONPATH=${ERT_PYTHON_PATH}:${CWRAP_PYTHON_PATH}:${PYTHONPATH}")
|
||||
endfunction(addPythonTest)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user