Fix Windows compilation errors

This commit is contained in:
Vinyl Darkscratch 2018-10-04 13:02:23 -07:00
parent 49cce9e4d8
commit f754921b44
2 changed files with 4 additions and 0 deletions

View file

@ -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)

View file

@ -5,6 +5,7 @@
#include "debugwriter.h"
#if defined _WIN32
#define OS_W32
#include <shlwapi.h>
#elif defined __APPLE__ || __linux__
#define LINUX