mirror of
https://github.com/Palakis/obs-websocket.git
synced 2024-08-30 18:12:16 +00:00
Better build process
This commit is contained in:
parent
4983ef6ddb
commit
1faccf8ee3
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
[submodule "deps/mbedtls"]
|
||||
path = deps/mbedtls
|
||||
url = https://github.com/ARMmbed/mbedtls
|
@ -10,11 +10,17 @@ find_package(LibObs REQUIRED)
|
||||
find_package(Qt5Core REQUIRED)
|
||||
find_package(Qt5WebSockets REQUIRED)
|
||||
|
||||
set(OBS_FRONTEND_LIB "OBS_FRONTEND_LIB-NOTFOUND" CACHE FILEPATH "OBS frontend library")
|
||||
if(OBS_FRONTEND_LIB EQUAL "OBS_FRONTEND_LIB-NOTFOUND")
|
||||
message(FATAL_ERROR "Could not find OBS Frontend API\'s library !")
|
||||
endif()
|
||||
|
||||
set(obs-websocket_SOURCES
|
||||
obs-websocket.cpp
|
||||
WSServer.cpp
|
||||
WSRequestHandler.cpp
|
||||
WSEvents.cpp
|
||||
Config.cpp
|
||||
Utils.cpp)
|
||||
|
||||
set(obs-websocket_HEADERS
|
||||
@ -22,6 +28,7 @@ set(obs-websocket_HEADERS
|
||||
WSServer.h
|
||||
WSRequestHandler.h
|
||||
WSEvents.h
|
||||
Config.h
|
||||
Utils.h)
|
||||
|
||||
add_library(obs-websocket MODULE
|
||||
|
1
deps/mbedtls
vendored
Submodule
1
deps/mbedtls
vendored
Submodule
@ -0,0 +1 @@
|
||||
Subproject commit ea67eeb4e8e6cdbaa8770935a848b11d231217bb
|
Loading…
x
Reference in New Issue
Block a user