CMake: Work around implot#565

This commit is contained in:
Joshua Vandaële
2025-12-07 19:09:47 +01:00
parent 75bc9a474e
commit 5e0c0544e2
2 changed files with 8 additions and 0 deletions
+3
View File
@@ -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")
+5
View File
@@ -0,0 +1,5 @@
#pragma once
#include <cmath>
using std::isnan;