forked from OPM/opm-parser
-
Notifications
You must be signed in to change notification settings - Fork 0
/
opm-parser-config.cmake.in
20 lines (19 loc) · 897 Bytes
/
opm-parser-config.cmake.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
if(NOT opm-parser_FOUND)
#import the target
set(ecl_DIR @ecl_DIR@)
find_package(ecl REQUIRED)
get_filename_component(_dir "${CMAKE_CURRENT_LIST_FILE}" PATH)
include("${_dir}/opm-parser-targets.cmake")
#report other information
set(opm-parser_INSTALLED "@OPM_PARSER_INSTALLED@")
set(opm-parser_PREFIX "@OPM_PARSER_PREFIX@")
set(opm-parser_INCLUDE_DIRS "@OPM_PARSER_INCLUDEDIRS@")
set(opm-parser_LIBRARY_DIRS "@OPM_PARSER_LIBDIRS@")
set(opm-parser_CXX_FLAGS "@CMAKE_CXX_FLAGS@")
set(opm-parser_CXX_FLAGS_DEBUG "@CMAKE_CXX_FLAGS_DEBUG@")
set(opm-parser_CXX_FLAGS_MINSIZEREL "@CMAKE_CXX_FLAGS_MINSIZEREL@")
set(opm-parser_CXX_FLAGS_RELEASE "@CMAKE_CXX_FLAGS_RELEASE@")
set(opm-parser_CXX_FLAGS_RELWITHDEBINFO "@CMAKE_CXX_FLAGS_RELWITHDEBINFO@")
set(opm-parser_LIBRARIES "opmparser")
set(opm-parser_MODULE_PATH "@OPM_PARSER_MODULE_PATH@")
endif(NOT opm-parser_FOUND)