Fix windows + Implement some RDP reads and writes

This commit is contained in:
CocoSimone
2022-08-22 19:54:56 +02:00
parent 68be852238
commit bcde8570b6
10 changed files with 85 additions and 57 deletions

View File

@@ -3,6 +3,8 @@ project(parallel-rdp)
file(GLOB_RECURSE parallel-rdp-cpp parallel-rdp-standalone/parallel-rdp/*.cpp)
find_package(SDL2 REQUIRED)
add_library(parallel-rdp
${parallel-rdp-cpp}
ParallelRDPWrapper.cpp
@@ -70,6 +72,8 @@ target_include_directories(parallel-rdp PUBLIC
.
)
target_link_libraries(parallel-rdp SDL2main SDL2)
if(WIN32)
target_compile_definitions(parallel-rdp PUBLIC VK_USE_PLATFORM_WIN32_KHR)
else()