mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Merge pull request #3110 from blattms/external-fmtlib-2
Enable usage of fmtlib on the system.
This commit is contained in:
@@ -161,8 +161,10 @@ macro (config_hook)
|
||||
endif()
|
||||
opm_need_version_of ("opm-models")
|
||||
|
||||
add_definitions(-DFMT_HEADER_ONLY)
|
||||
list(APPEND EXTRA_INCLUDES SYSTEM ${PROJECT_SOURCE_DIR}/external/fmtlib/include)
|
||||
if(NOT fmt_FOUND)
|
||||
add_definitions(-DFMT_HEADER_ONLY)
|
||||
list(APPEND EXTRA_INCLUDES SYSTEM ${PROJECT_SOURCE_DIR}/external/fmtlib/include)
|
||||
endif()
|
||||
include_directories(${EXTRA_INCLUDES})
|
||||
endmacro (config_hook)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user