Skip to content

Commit

Permalink
Define WIN32_LEAN_AND_MEAN
Browse files Browse the repository at this point in the history
  • Loading branch information
kasperisager committed Oct 18, 2024
1 parent 1a9a4cc commit dff68e4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ set(CMAKE_MACOSX_BUNDLE OFF)
project(bare_tls C CXX)

if(NOT TARGET ssl)
if(WIN32)
add_definitions(-DWIN32_LEAN_AND_MEAN)
endif()

add_subdirectory(vendor/boringssl EXCLUDE_FROM_ALL)
endif()

Expand Down

0 comments on commit dff68e4

Please sign in to comment.