mirror of
https://github.com/Palakis/obs-websocket.git
synced 2024-08-30 18:12:16 +00:00
Implement fix for Ubuntu users
#478 Broke building on linux. This implements a new variable to apply the fix.
This commit is contained in:
parent
819917c4bf
commit
47492c3fa2
@ -187,8 +187,13 @@ if(UNIX AND NOT APPLE)
|
||||
|
||||
file(GLOB locale_files data/locale/*.ini)
|
||||
|
||||
install(TARGETS obs-websocket
|
||||
LIBRARY DESTINATION "${CMAKE_INSTALL_FULL_LIBDIR}/obs-plugins")
|
||||
if(${USE_UBUNTU_FIX})
|
||||
install(TARGETS obs-websocket
|
||||
LIBRARY DESTINATION "/usr/lib/obs-plugins")
|
||||
else()
|
||||
install(TARGETS obs-websocket
|
||||
LIBRARY DESTINATION "${CMAKE_INSTALL_FULL_LIBDIR}/obs-plugins")
|
||||
endif()
|
||||
|
||||
install(FILES ${locale_files}
|
||||
DESTINATION "${CMAKE_INSTALL_FULL_DATAROOTDIR}/obs/obs-plugins/obs-websocket/locale")
|
||||
|
Loading…
x
Reference in New Issue
Block a user