mirror of
https://forgejo.xatacraft.ru/Sunshine/mkxp-sunshine.git
synced 2026-08-19 13:29:54 +00:00
Fix Windows compilation errors
This commit is contained in:
parent
49cce9e4d8
commit
f754921b44
2 changed files with 4 additions and 0 deletions
|
|
@ -151,6 +151,9 @@ if(WIN32)
|
|||
list(APPEND MAIN_SOURCE assets/resources.rc)
|
||||
list(APPEND DEFINES UNICODE)
|
||||
list(APPEND PLATFORM_LIBRARIES Secur32)
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_BINARY_DIR}/windows
|
||||
)
|
||||
endif()
|
||||
|
||||
if (STEAM)
|
||||
|
|
|
|||
|
|
@ -5,6 +5,7 @@
|
|||
#include "debugwriter.h"
|
||||
|
||||
#if defined _WIN32
|
||||
#define OS_W32
|
||||
#include <shlwapi.h>
|
||||
#elif defined __APPLE__ || __linux__
|
||||
#define LINUX
|
||||
|
|
|
|||
Loading…
Reference in a new issue