From 5d05c4919bd5b5cb9cf1e0123f0c65769e67bd2d Mon Sep 17 00:00:00 2001 From: glx22 Date: Thu, 20 May 2021 18:28:14 +0200 Subject: Codechange: [WIN32] Reduce manual dynamic loading as WinXP is the minimum version --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 6cc2f7e2a..fe03b5ae1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -360,6 +360,7 @@ if(WIN32) -DUNICODE -D_UNICODE -DWITH_UNISCRIBE + -DPSAPI_VERSION=1 ) target_link_libraries(openttd @@ -367,6 +368,7 @@ if(WIN32) winmm imm32 usp10 + psapi ) endif() -- cgit v1.2.3-54-g00ecf