mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-04-26 10:06:17 -05:00
Merge pull request #14305 from JoshuaVandaele/implot-ninja-win
CMake: Apply implot fix on Windows with non-VS generators
This commit is contained in:
commit
4d2917d302
5
Externals/implot/CMakeLists.txt
vendored
5
Externals/implot/CMakeLists.txt
vendored
|
|
@ -22,4 +22,7 @@ target_link_libraries(implot
|
||||||
)
|
)
|
||||||
|
|
||||||
# https://github.com/epezent/implot/pull/565
|
# https://github.com/epezent/implot/pull/565
|
||||||
target_compile_options(implot PRIVATE -include "${CMAKE_CURRENT_SOURCE_DIR}/implot_isnan_fix.h")
|
target_compile_options(implot PRIVATE
|
||||||
|
$<$<CXX_COMPILER_ID:MSVC>:/FI${CMAKE_CURRENT_SOURCE_DIR}/implot_isnan_fix.h>
|
||||||
|
$<$<NOT:$<CXX_COMPILER_ID:MSVC>>:-include ${CMAKE_CURRENT_SOURCE_DIR}/implot_isnan_fix.h>
|
||||||
|
)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user