mirror of
https://github.com/Palakis/obs-websocket.git
synced 2024-08-30 18:12:16 +00:00
Better build process on Windows
This commit is contained in:
parent
d091d9c3e4
commit
94576fae44
@ -59,6 +59,11 @@ if(WIN32)
|
||||
|
||||
target_link_libraries(obs-websocket
|
||||
"${OBS_FRONTEND_LIB}")
|
||||
add_custom_command(TARGET obs-websocket POST_BUILD
|
||||
COMMAND "${CMAKE_COMMAND}" -E copy
|
||||
"${QTDIR}/bin/Qt5WebSockets.dll"
|
||||
"${QTDIR}/bin/Qt5Network.dll"
|
||||
"${CMAKE_BINARY_DIR}/$<CONFIG>")
|
||||
endif()
|
||||
|
||||
if(UNIX)
|
||||
|
@ -21,8 +21,6 @@ In cmake-gui, you'll have to set the following variables :
|
||||
- **LIBOBS_LIB** (filepath) : location of the obs.lib file
|
||||
- **OBS_FRONTEND_LIB** (filepath) : location of the obs-frontend-api.lib file
|
||||
|
||||
After building the obs-websocket binary, copy Qt5Network.dll and Qt5WebSockets.dll from Qt's `bin/` to the folder of the obs-websocket's binary.
|
||||
|
||||
### Linux
|
||||
On Debian/Ubuntu :
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user