Windows compiles in Debug profile, issue persists in Release profile

This commit is contained in:
Simone Coco
2024-08-28 14:48:27 +02:00
parent 5f7a2fa65f
commit 24d4173396
2 changed files with 5 additions and 1 deletions

View File

@@ -6,6 +6,10 @@ set(CMAKE_CXX_STANDARD 17)
find_package(Qt6 REQUIRED COMPONENTS Core Gui Widgets)
find_package(SDL2 CONFIG REQUIRED)
if(WIN32)
add_compile_definitions(NOMINMAX)
endif()
include_directories(
.
../