mirror of
https://github.com/R2Northstar/NorthstarLauncher
synced 2026-08-23 20:26:04 -04:00
Force _WIN32_WINNT variable (#770)
to avoid instant crashes on older Windows platforms.
This commit is contained in:
parent
6737a344c0
commit
71349f05b6
1 changed files with 4 additions and 0 deletions
|
|
@ -50,3 +50,7 @@ include_directories(primedev/thirdparty)
|
||||||
|
|
||||||
# Targets
|
# Targets
|
||||||
add_subdirectory(primedev)
|
add_subdirectory(primedev)
|
||||||
|
# Forces Minizip to not use functions that are not available in Win 7 libraries.
|
||||||
|
if(WIN32)
|
||||||
|
target_compile_definitions(minizip PUBLIC -D_WIN32_WINNT=0x0601)
|
||||||
|
endif()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue