mirror of
https://github.com/Xahau/xahaud.git
synced 2025-11-20 02:25:53 +00:00
Switch to updated date library exception handling:
Without defining `HAS_UNCAUGHT_EXCEPTIONS` the date library would use the deprecated `uncaught_exception` which would generate a warning.
This commit is contained in:
@@ -125,6 +125,10 @@ target_include_directories (xrpl_core
|
||||
# this one is for beast/legacy files:
|
||||
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/src/beast/extras>
|
||||
$<INSTALL_INTERFACE:include>)
|
||||
|
||||
target_compile_definitions(xrpl_core
|
||||
PUBLIC
|
||||
HAS_UNCAUGHT_EXCEPTIONS=1)
|
||||
target_compile_options (xrpl_core
|
||||
PUBLIC
|
||||
$<$<BOOL:${is_gcc}>:-Wno-maybe-uninitialized>)
|
||||
|
||||
Reference in New Issue
Block a user