Fix Windows compilation errors
This commit is contained in:
parent
49cce9e4d8
commit
f754921b44
|
|
@ -151,6 +151,9 @@ if(WIN32)
|
||||||
list(APPEND MAIN_SOURCE assets/resources.rc)
|
list(APPEND MAIN_SOURCE assets/resources.rc)
|
||||||
list(APPEND DEFINES UNICODE)
|
list(APPEND DEFINES UNICODE)
|
||||||
list(APPEND PLATFORM_LIBRARIES Secur32)
|
list(APPEND PLATFORM_LIBRARIES Secur32)
|
||||||
|
include_directories(
|
||||||
|
${CMAKE_CURRENT_BINARY_DIR}/windows
|
||||||
|
)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if (STEAM)
|
if (STEAM)
|
||||||
|
|
|
||||||
|
|
@ -5,6 +5,7 @@
|
||||||
#include "debugwriter.h"
|
#include "debugwriter.h"
|
||||||
|
|
||||||
#if defined _WIN32
|
#if defined _WIN32
|
||||||
|
#define OS_W32
|
||||||
#include <shlwapi.h>
|
#include <shlwapi.h>
|
||||||
#elif defined __APPLE__ || __linux__
|
#elif defined __APPLE__ || __linux__
|
||||||
#define LINUX
|
#define LINUX
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue