mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-12-28 02:00:59 -06:00
Merge pull request #1374 from akva2/self_prereqs
changed: put prereqs in module itself
This commit is contained in:
commit
7100c1ee90
@ -15,7 +15,7 @@
|
||||
###########################################################################
|
||||
|
||||
# Mandatory call to project
|
||||
project(opm-simulators CXX)
|
||||
project(opm-simulators C CXX)
|
||||
|
||||
cmake_minimum_required (VERSION 2.8)
|
||||
|
||||
|
37
opm-simulators-prereqs.cmake
Normal file
37
opm-simulators-prereqs.cmake
Normal file
@ -0,0 +1,37 @@
|
||||
# defines that must be present in config.h for our headers
|
||||
set (opm-simulators_CONFIG_VAR
|
||||
HAVE_OPM_GRID
|
||||
HAVE_PTHREAD
|
||||
HAVE_EWOMS
|
||||
DUNE_ISTL_VERSION_MAJOR
|
||||
DUNE_ISTL_VERSION_MINOR
|
||||
DUNE_ISTL_VERSION_REVISION
|
||||
HAVE_SUITESPARSE_UMFPACK
|
||||
)
|
||||
|
||||
# dependencies
|
||||
set (opm-simulators_DEPS
|
||||
# Compile with C99 support if available
|
||||
"C99"
|
||||
# Compile with C++0x/11 support if available
|
||||
"CXX11Features"
|
||||
# Various runtime library enhancements
|
||||
"Boost 1.44.0
|
||||
COMPONENTS date_time filesystem system unit_test_framework REQUIRED"
|
||||
# DUNE prerequisites
|
||||
"dune-common REQUIRED"
|
||||
"dune-istl REQUIRED"
|
||||
# Tim Davis' SuiteSparse archive
|
||||
"SuiteSparse COMPONENTS umfpack"
|
||||
# OPM dependency
|
||||
"opm-common REQUIRED"
|
||||
"opm-parser REQUIRED"
|
||||
"opm-grid REQUIRED"
|
||||
"opm-core REQUIRED"
|
||||
"opm-output REQUIRED"
|
||||
"ewoms REQUIRED"
|
||||
# Eigen
|
||||
"Eigen3 3.2.0"
|
||||
)
|
||||
|
||||
find_package_deps(opm-simulators)
|
Loading…
Reference in New Issue
Block a user