File tree 2 files changed +12
-577
lines changed
2 files changed +12
-577
lines changed Original file line number Diff line number Diff line change @@ -88,15 +88,17 @@ else() # MSVC
88
88
set (CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>" )
89
89
90
90
# The WIN32_LEAN_AND_MEAN define avoids possible macro pollution
91
- # when a libsinsp consumer includes the windows.h header.
92
- # See: https://stackoverflow.com/a/28380820
93
-
91
+ # when a libsinsp consumer includes the windows.h header:
92
+ # https://stackoverflow.com/a/28380820
93
+ # Same goes for NOMINMAX:
94
+ # https://stackoverflow.com/questions/5004858/why-is-stdmin-failing-when-windows-h-is-included
94
95
add_compile_definitions (
95
96
_HAS_STD_BYTE=0
96
97
_CRT_SECURE_NO_WARNINGS
97
98
WIN32
98
99
MINIMAL_BUILD
99
100
WIN32_LEAN_AND_MEAN
101
+ NOMINMAX
100
102
)
101
103
102
104
set (FALCOSECURITY_LIBS_COMMON_FLAGS "/EHsc /W3 /Zi /std:c++17" )
You can’t perform that action at this time.
0 commit comments