this build will fail
This commit is contained in:
15
external/parallel-rdp/CMakeLists.txt
vendored
15
external/parallel-rdp/CMakeLists.txt
vendored
@@ -3,8 +3,8 @@ project(parallel-rdp)
|
||||
|
||||
file(GLOB_RECURSE parallel-rdp-cpp parallel-rdp-standalone/parallel-rdp/*.cpp)
|
||||
|
||||
find_package(PkgConfig REQUIRED)
|
||||
find_package(SDL2 REQUIRED)
|
||||
find_package(SDL2 CONFIG REQUIRED)
|
||||
find_package(Vulkan REQUIRED)
|
||||
|
||||
add_library(parallel-rdp
|
||||
${parallel-rdp-cpp}
|
||||
@@ -74,18 +74,11 @@ target_include_directories(parallel-rdp PUBLIC
|
||||
../imgui
|
||||
../imgui/imgui
|
||||
../imgui/imgui/backends
|
||||
../fmt/include
|
||||
../fmt/include
|
||||
.
|
||||
)
|
||||
|
||||
if(WIN32)
|
||||
target_compile_options(parallel-rdp PUBLIC -mwindows)
|
||||
set(LIBRARIES -static z stdc++ user32 gdi32 winmm Imm32 ole32 oleaut32 shell32 setupapi version uuid)
|
||||
else()
|
||||
set(LIBRARIES )
|
||||
endif()
|
||||
|
||||
target_link_libraries(parallel-rdp ${SDL2_LIBRARIES} ${LIBRARIES})
|
||||
target_link_libraries(parallel-rdp SDL2::SDL2main SDL2::SDL2-static)
|
||||
|
||||
if(WIN32)
|
||||
target_compile_definitions(parallel-rdp PUBLIC VK_USE_PLATFORM_WIN32_KHR)
|
||||
|
||||
Reference in New Issue
Block a user