Skip to content

Commit

Permalink
fix(win32): define NOMINMAX
Browse files Browse the repository at this point in the history
Seriously fuck <windows.h>
  • Loading branch information
Curve committed Jul 11, 2023
1 parent ec62e6a commit 643d559
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ if (WIN32)
endif()

target_sources(${PROJECT_NAME} PRIVATE ${src})
target_compile_definitions(${PROJECT_NAME} PRIVATE NOMINMAX)
endif()

# --------------------------------------------------------------------------------------------------------
Expand Down

0 comments on commit 643d559

Please sign in to comment.