Skip to content

Commit

Permalink
fix(cmake): windows build
Browse files Browse the repository at this point in the history
Signed-off-by: Roberto Scolaro <[email protected]>
  • Loading branch information
therealbobo committed Jan 22, 2025
1 parent 04f54e5 commit 95c1f29
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,12 @@ endif()
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_EXTENSIONS OFF)
if(MSVC OR WIN32)
add_compile_definitions(_HAS_STD_BYTE=0)
add_compile_definitions(
_HAS_STD_BYTE=0
WIN32_LEAN_AND_MEAN
_DISABLE_CONSTEXPR_MUTEX_CONSTRUCTOR
NOMINMAX
)
endif()

include(falcosecurity-libs)
Expand Down

0 comments on commit 95c1f29

Please sign in to comment.