mirror of
https://github.com/Palakis/obs-websocket.git
synced 2024-08-30 18:12:16 +00:00
Update CMakeLists.txt
This commit is contained in:
parent
94576fae44
commit
e3a28b640f
@ -66,14 +66,12 @@ if(WIN32)
|
|||||||
"${CMAKE_BINARY_DIR}/$<CONFIG>")
|
"${CMAKE_BINARY_DIR}/$<CONFIG>")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(UNIX)
|
if(UNIX AND NOT APPLE)
|
||||||
target_compile_options(mbedcrypto PRIVATE -fPIC)
|
target_compile_options(mbedcrypto PRIVATE -fPIC)
|
||||||
|
set_target_properties(obs-websocket PROPERTIES PREFIX "")
|
||||||
target_link_libraries(obs-websocket
|
target_link_libraries(obs-websocket
|
||||||
obs-frontend-api)
|
obs-frontend-api)
|
||||||
endif()
|
|
||||||
|
|
||||||
if(UNIX AND NOT APPLE)
|
|
||||||
set_target_properties(obs-websocket PROPERTIES PREFIX "")
|
|
||||||
install(TARGETS obs-websocket
|
install(TARGETS obs-websocket
|
||||||
LIBRARY DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/obs-plugins)
|
LIBRARY DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/obs-plugins)
|
||||||
install(FILES data/locale/en-US.ini data/locale/fr-FR.ini
|
install(FILES data/locale/en-US.ini data/locale/fr-FR.ini
|
||||||
|
Loading…
x
Reference in New Issue
Block a user