mirror of
https://github.com/thunderbrewhq/squall.git
synced 2025-12-12 02:22:30 +00:00
chore(build): add windows.h compile definitions
This commit is contained in:
parent
d3fd03d67e
commit
095b042583
1 changed files with 9 additions and 0 deletions
|
|
@ -20,6 +20,15 @@ set(CMAKE_CXX_STANDARD 11)
|
|||
|
||||
include(lib/system/cmake/system.cmake)
|
||||
|
||||
# OS defines
|
||||
if(WHOA_SYSTEM_WIN)
|
||||
# Avoid win32 header hell
|
||||
add_compile_definitions(
|
||||
NOMINMAX
|
||||
WIN32_LEAN_AND_MEAN
|
||||
)
|
||||
endif()
|
||||
|
||||
add_subdirectory(lib)
|
||||
add_subdirectory(storm)
|
||||
add_subdirectory(test)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue