mirror of https://github.com/OpenRCT2/OpenRCT2.git
Remove last references to WINNT 5.1 (#17631)
Probable oversight from https://github.com/OpenRCT2/OpenRCT2/pull/17411.
This commit is contained in:
parent
0392925450
commit
34a7421b98
|
@ -96,9 +96,6 @@ option(DISABLE_NETWORK "Disable multiplayer functionality. Mainly for testing.")
|
|||
option(DISABLE_TTF "Disable support for TTF provided by freetype2.")
|
||||
option(ENABLE_LIGHTFX "Enable lighting effects." ON)
|
||||
option(ENABLE_SCRIPTING "Enable script / plugin support." ON)
|
||||
if (MINGW)
|
||||
option(MINGW_TARGET_NT5_1 "Use only NT5.1 APIs and libraries." OFF)
|
||||
endif ()
|
||||
|
||||
option(DISABLE_GUI "Don't build GUI. (Headless only.)")
|
||||
|
||||
|
@ -108,13 +105,6 @@ if (FORCE32)
|
|||
set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} ${TARGET_M}")
|
||||
endif ()
|
||||
|
||||
if (MINGW_TARGET_NT5_1)
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -D_WIN32_WINNT=0x501")
|
||||
if (STATIC)
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DCURL_STATICLIB=1 -DZIP_STATIC=1 -static")
|
||||
endif ()
|
||||
endif ()
|
||||
|
||||
if (PORTABLE OR WIN32)
|
||||
set(CMAKE_INSTALL_LIBDIR "${CMAKE_INSTALL_BINDIR}")
|
||||
set(CMAKE_INSTALL_RPATH "$ORIGIN")
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue