Skip to content

Commit f202c77

Browse files
authored
Add WIN32_LEAN_AND_MEAN definition in CMake
1 parent dcb34af commit f202c77

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ if(MSVC)
3232
HAVE_UNISTD_H=0
3333
NOMINMAX
3434
_CRT_SECURE_NO_WARNINGS
35+
WIN32_LEAN_AND_MEAN
3536
)
3637
elseif(APPLE)
3738
execute_process(COMMAND uname -m OUTPUT_VARIABLE PROCESSOR_ARCHITECTURE OUTPUT_STRIP_TRAILING_WHITESPACE)

0 commit comments

Comments
 (0)