diff --git a/Externals/implot/CMakeLists.txt b/Externals/implot/CMakeLists.txt index 922ae4ff93..c757ec48cb 100644 --- a/Externals/implot/CMakeLists.txt +++ b/Externals/implot/CMakeLists.txt @@ -20,3 +20,6 @@ target_link_libraries(implot PRIVATE imgui PRIVATE fmt::fmt ) + +# https://github.com/epezent/implot/pull/565 +target_compile_options(implot PRIVATE -include "${CMAKE_CURRENT_SOURCE_DIR}/implot_isnan_fix.h") diff --git a/Externals/implot/implot_isnan_fix.h b/Externals/implot/implot_isnan_fix.h new file mode 100644 index 0000000000..4e89d33d22 --- /dev/null +++ b/Externals/implot/implot_isnan_fix.h @@ -0,0 +1,5 @@ +#pragma once + +#include + +using std::isnan;