added find cwrap from opm-common

This commit is contained in:
Pål Grønås Drange
2016-10-04 12:49:05 +02:00
parent 7ef665994b
commit aa09373f18
2 changed files with 2 additions and 1 deletions

View File

@@ -1,5 +1,6 @@
find_package (PythonInterp REQUIRED)
find_package (ERTPython)
find_package (Cwrap)
if (ERT_PYTHON_PATH)
add_subdirectory( c_inter )

View File

@@ -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)