mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-03-18 19:32:41 +00:00
CMake: Work around implot#565
This commit is contained in:
parent
75bc9a474e
commit
5e0c0544e2
3
Externals/implot/CMakeLists.txt
vendored
3
Externals/implot/CMakeLists.txt
vendored
@ -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
Externals/implot/implot_isnan_fix.h
vendored
Normal file
5
Externals/implot/implot_isnan_fix.h
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
#pragma once
|
||||
|
||||
#include <cmath>
|
||||
|
||||
using std::isnan;
|
||||
Loading…
Reference in New Issue
Block a user