Skip to content

Commit

Permalink
Fix missing _WIN32_WINNT for release configuration of libraries (Serg…
Browse files Browse the repository at this point in the history
  • Loading branch information
SergiusTheBest committed Aug 10, 2021
1 parent 0c276ff commit 43fd504
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/FindWdk.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ function(wdk_add_library _target)

set_target_properties(${_target} PROPERTIES COMPILE_OPTIONS "${WDK_COMPILE_FLAGS}")
set_target_properties(${_target} PROPERTIES COMPILE_DEFINITIONS
"${WDK_COMPILE_DEFINITIONS};$<$<CONFIG:Debug>:${WDK_COMPILE_DEFINITIONS_DEBUG};_WIN32_WINNT=${WDK_WINVER}>"
"${WDK_COMPILE_DEFINITIONS};$<$<CONFIG:Debug>:${WDK_COMPILE_DEFINITIONS_DEBUG};>_WIN32_WINNT=${WDK_WINVER}"
)

target_include_directories(${_target} SYSTEM PRIVATE
Expand Down

0 comments on commit 43fd504

Please sign in to comment.