mirror of
https://github.com/Mahdi-zarei/nekoray.git
synced 2025-12-18 20:50:09 +08:00
fix
This commit is contained in:
parent
7806bc6786
commit
10283eafd1
@ -13,12 +13,7 @@ generate_product_version(
|
||||
)
|
||||
add_definitions(-DUNICODE -D_UNICODE -DNOMINMAX)
|
||||
set(GUI_TYPE WIN32)
|
||||
if (MINGW)
|
||||
if (NOT DEFINED MinGW_ROOT)
|
||||
set(MinGW_ROOT "C:/msys64/mingw64")
|
||||
endif ()
|
||||
else ()
|
||||
if (MSVC)
|
||||
add_compile_options("/utf-8")
|
||||
add_compile_options("/std:c++17")
|
||||
add_definitions(-D_WIN32_WINNT=0x600 -D_SCL_SECURE_NO_WARNINGS -D_CRT_SECURE_NO_WARNINGS)
|
||||
endif ()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user