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()
|
endif()
|
||||||
opm_need_version_of ("opm-models")
|
opm_need_version_of ("opm-models")
|
||||||
|
|
||||||
add_definitions(-DFMT_HEADER_ONLY)
|
if(NOT fmt_FOUND)
|
||||||
list(APPEND EXTRA_INCLUDES SYSTEM ${PROJECT_SOURCE_DIR}/external/fmtlib/include)
|
add_definitions(-DFMT_HEADER_ONLY)
|
||||||
|
list(APPEND EXTRA_INCLUDES SYSTEM ${PROJECT_SOURCE_DIR}/external/fmtlib/include)
|
||||||
|
endif()
|
||||||
include_directories(${EXTRA_INCLUDES})
|
include_directories(${EXTRA_INCLUDES})
|
||||||
endmacro (config_hook)
|
endmacro (config_hook)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user