2015-09-08 03:35:01 -05:00
|
|
|
# -*- mode: cmake; tab-width: 2; indent-tabs-mode: t; truncate-lines: t; compile-command: "cmake -Wdev" -*-
|
|
|
|
# vim: set filetype=cmake autoindent tabstop=2 shiftwidth=2 noexpandtab softtabstop=2 nowrap:
|
|
|
|
|
|
|
|
# defines that must be present in config.h for our headers
|
|
|
|
set (opm-common_CONFIG_VAR
|
2020-04-14 06:20:52 -05:00
|
|
|
HAVE_OPENMP
|
2022-11-30 05:27:27 -06:00
|
|
|
HAVE_TYPE_TRAITS
|
|
|
|
HAVE_VALGRIND
|
|
|
|
HAVE_FINAL
|
|
|
|
HAVE_ECL_INPUT
|
2022-12-22 06:02:48 -06:00
|
|
|
HAVE_CXA_DEMANGLE
|
2020-04-14 06:20:52 -05:00
|
|
|
)
|
2015-09-08 03:35:01 -05:00
|
|
|
|
|
|
|
# dependencies
|
|
|
|
set (opm-common_DEPS
|
|
|
|
# compile with C99 support if available
|
|
|
|
"C99"
|
2022-11-30 05:27:27 -06:00
|
|
|
# valgrind client requests
|
|
|
|
"Valgrind"
|
2020-02-12 02:12:29 -06:00
|
|
|
)
|
|
|
|
|
|
|
|
list(APPEND opm-common_DEPS
|
|
|
|
# various runtime library enhancements
|
|
|
|
"Boost 1.44.0 COMPONENTS system unit_test_framework REQUIRED"
|
2020-04-28 05:58:39 -05:00
|
|
|
"OpenMP QUIET"
|
2021-03-11 09:13:05 -06:00
|
|
|
"cjson"
|
2021-03-11 13:00:56 -06:00
|
|
|
# Still it produces compile errors complaining that it
|
|
|
|
# cannot format UDQVarType. Hence we use the same version
|
|
|
|
# as the embedded one.
|
|
|
|
"fmt 7.0.3"
|
2023-03-09 05:28:53 -06:00
|
|
|
"QuadMath"
|
2020-02-12 02:12:29 -06:00
|
|
|
)
|
2018-07-10 08:41:58 -05:00
|
|
|
find_package_deps(opm-common)
|