mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2024-12-29 11:06:07 +00:00
fixed winpthread linking
This commit is contained in:
parent
5180a282ed
commit
c3eb515895
4
third-party/CMakeLists.txt
vendored
4
third-party/CMakeLists.txt
vendored
|
@ -27,6 +27,8 @@ option(ZYDIS_BUILD_EXAMPLES "" OFF)
|
||||||
set(zydis_DIR ${CMAKE_CURRENT_SOURCE_DIR}/zydis)
|
set(zydis_DIR ${CMAKE_CURRENT_SOURCE_DIR}/zydis)
|
||||||
add_subdirectory(${zydis_DIR})
|
add_subdirectory(${zydis_DIR})
|
||||||
|
|
||||||
|
#========== winpthreads ======================
|
||||||
|
add_subdirectory(winpthread)
|
||||||
#=================== IMGUI ===================
|
#=================== IMGUI ===================
|
||||||
|
|
||||||
set(IMGUI_DIR ${CMAKE_CURRENT_SOURCE_DIR}/imgui)
|
set(IMGUI_DIR ${CMAKE_CURRENT_SOURCE_DIR}/imgui)
|
||||||
|
@ -56,6 +58,6 @@ find_package(OpenGL REQUIRED)
|
||||||
target_link_libraries(IMGUI PUBLIC ${OPENGL_LIBRARIES})
|
target_link_libraries(IMGUI PUBLIC ${OPENGL_LIBRARIES})
|
||||||
|
|
||||||
|
|
||||||
target_link_libraries(IMGUI PUBLIC SDL3-shared ${CMAKE_DL_LIBS} Zydis)
|
target_link_libraries(IMGUI PUBLIC SDL3-shared ${CMAKE_DL_LIBS} Zydis winpthread)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue