File tree Expand file tree Collapse file tree 3 files changed +26
-14
lines changed Expand file tree Collapse file tree 3 files changed +26
-14
lines changed Original file line number Diff line number Diff line change @@ -64,23 +64,27 @@ set(OPENSSL_LIBRARIES
64
64
libcrypto.a )
65
65
66
66
list (PREPEND PLATFORM_LIBRARIES
67
+ ${CURL_STATIC_LIBRARIES}
68
+ avrt
69
+ d3d11
70
+ D3DCompiler
71
+ dwmapi
72
+ dxgi
73
+ iphlpapi
74
+ ksuser
75
+ libssp.a
67
76
libstdc++.a
68
77
libwinpthread.a
69
- libssp.a
78
+ minhook::minhook
79
+ nlohmann_json::nlohmann_json
70
80
ntdll
71
- ksuser
72
- wsock32
73
- ws2_32
74
- d3d11 dxgi D3DCompiler
75
81
setupapi
76
- dwmapi
77
- userenv
78
- synchronization.lib
79
- avrt
80
- iphlpapi
81
82
shlwapi
82
- PkgConfig::NLOHMANN_JSON
83
- ${CURL_STATIC_LIBRARIES} )
83
+ synchronization.lib
84
+ userenv
85
+ ws2_32
86
+ wsock32
87
+ )
84
88
85
89
if (SUNSHINE_ENABLE_TRAY )
86
90
list (APPEND PLATFORM_TARGET_FILES
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ include_directories(SYSTEM ${MINIUPNP_INCLUDE_DIRS})
28
28
# ffmpeg pre-compiled binaries
29
29
if (NOT DEFINED FFMPEG_PREPARED_BINARIES )
30
30
if (WIN32 )
31
- set (FFMPEG_PLATFORM_LIBRARIES mfplat ole32 strmiids mfuuid vpl MinHook )
31
+ set (FFMPEG_PLATFORM_LIBRARIES mfplat ole32 strmiids mfuuid vpl )
32
32
elseif (UNIX AND NOT APPLE )
33
33
set (FFMPEG_PLATFORM_LIBRARIES numa va va-drm va-x11 X11 )
34
34
endif ()
Original file line number Diff line number Diff line change 1
1
# windows specific dependencies
2
2
3
3
# nlohmann_json
4
- pkg_check_modules (NLOHMANN_JSON nlohmann_json REQUIRED IMPORTED_TARGET )
4
+ find_package (nlohmann_json CONFIG 3.11 REQUIRED )
5
+
6
+ # Make sure MinHook is installed
7
+ find_library (MINHOOK_LIBRARY minhook REQUIRED )
8
+ find_path (MINHOOK_INCLUDE_DIR MinHook.h PATH_SUFFIXES include REQUIRED )
9
+
10
+ add_library (minhook::minhook UNKNOWN IMPORTED )
11
+ set_property (TARGET minhook::minhook PROPERTY IMPORTED_LOCATION ${MINHOOK_LIBRARY} )
12
+ target_include_directories (minhook::minhook INTERFACE ${MINHOOK_INCLUDE_DIR} )
You can’t perform that action at this time.
0 commit comments