1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-22 14:24:33 +01:00

Remove last references to WINNT 5.1 (#17631)

Probable oversight from https://github.com/OpenRCT2/OpenRCT2/pull/17411.
This commit is contained in:
Michael Steenbeek
2022-07-28 22:39:04 +02:00
committed by GitHub
parent 0392925450
commit 34a7421b98
2 changed files with 2 additions and 12 deletions

View File

@@ -45,7 +45,7 @@ if (NOT MINGW AND NOT ${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD" AND NOT ${CMAKE_SYS
endif()
if (NOT DISABLE_NETWORK OR NOT DISABLE_HTTP)
if (WIN32 AND NOT MINGW_TARGET_NT5_1)
if (WIN32)
target_link_libraries(${PROJECT_NAME} bcrypt)
else ()
if (APPLE AND NOT MACOS_USE_DEPENDENCIES)
@@ -71,7 +71,7 @@ if (NOT DISABLE_NETWORK AND WIN32)
endif ()
if (NOT DISABLE_HTTP)
if (WIN32 AND NOT MINGW_TARGET_NT5_1)
if (WIN32)
target_link_libraries(${PROJECT_NAME} winhttp)
else ()
PKG_CHECK_MODULES(LIBCURL REQUIRED libcurl)