1
0
Fork 0

Fix build on Windows CI #2

This commit is contained in:
Ilya Fedin 2024-03-13 00:44:50 +04:00 committed by John Preston
parent 5a61112d6d
commit 5b703df9b8

View file

@ -43,13 +43,13 @@ if (CMAKE_CXX_COMPILER_ID STREQUAL "MSVC")
/wd4244 # '=': conversion from 'size_t' to 'int', possible loss of data. /wd4244 # '=': conversion from 'size_t' to 'int', possible loss of data.
/Zc:wchar_t- # don't tread wchar_t as builtin type /Zc:wchar_t- # don't tread wchar_t as builtin type
/Zi /Zi
/INCREMENTAL:NO
) )
target_link_options(common_options target_link_options(common_options
INTERFACE INTERFACE
$<IF:$<CONFIG:Debug>,/NODEFAULTLIB:LIBCMT,/DEBUG;/OPT:REF> $<IF:$<CONFIG:Debug>,/NODEFAULTLIB:LIBCMT,/DEBUG;/OPT:REF>
$<$<BOOL:${DESKTOP_APP_NO_PDB}>:/DEBUG:NONE> $<$<BOOL:${DESKTOP_APP_NO_PDB}>:/DEBUG:NONE>
/INCREMENTAL:NO
) )
if (DESKTOP_APP_ASAN) if (DESKTOP_APP_ASAN)