Skip to content
Snippets Groups Projects
Commit 42a4f9a8 authored by Timo Koch's avatar Timo Koch
Browse files

Merge branch 'fix/opm-common-package' into 'master'

[cmake] Delete find package opm-common

See merge request !1436
parents 47fd9752 879d0c69
No related branches found
No related tags found
1 merge request!1436[cmake] Delete find package opm-common
......@@ -12,18 +12,8 @@ if(NOT (dune-common_DIR
${PROJECT_BINARY_DIR})
endif()
if(NOT (opm-common_DIR
OR opm-common_ROOT
OR "${CMAKE_PREFIX_PATH}" MATCHES ".*opm-common.*"))
string(REPLACE ${CMAKE_PROJECT_NAME}
opm-common opm-common_DIR
${PROJECT_BINARY_DIR})
endif()
#find dune-common and set the module path
find_package(dune-common)
#find opm-common to support OPM
find_package(opm-common)
list(APPEND CMAKE_MODULE_PATH ${dune-common_MODULE_PATH}
"${PROJECT_SOURCE_DIR}/cmake/modules")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment