Skip to content

Commit

Permalink
add WIN32_LEAN_AND_MEAN for WIN32
Browse files Browse the repository at this point in the history
  • Loading branch information
cocomeow committed Dec 2, 2021
1 parent 2b0afe7 commit afc58b6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,7 @@ target_link_libraries(across PRIVATE
)

if(WIN32)
target_compile_definitions(across PUBLIC -DWIN32_LEAN_AND_MEAN)
set_target_properties(across PROPERTIES WIN32_EXECUTABLE TRUE)

if (MSVC)
Expand Down

0 comments on commit afc58b6

Please sign in to comment.