Skip to content

Commit

Permalink
cmake: add _WIN32_WINNT define to I_SilKit_Util (#100)
Browse files Browse the repository at this point in the history
  • Loading branch information
VDanielEdwards authored Aug 27, 2024
1 parent cbf9154 commit da1f28b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions SilKit/source/util/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,13 @@ target_link_libraries(O_SilKit_Util
PRIVATE fmt-header-only
)

if (MSVC)
target_compile_definitions(I_SilKit_Util INTERFACE _WIN32_WINNT=0x0601)
endif()
if(MINGW)
target_compile_definitions(I_SilKit_Util INTERFACE _WIN32_WINNT=0x0601)
endif()


add_subdirectory(tests)

Expand Down

0 comments on commit da1f28b

Please sign in to comment.