Avoid error running cmake when entering IXWebSocket subdirectory

I don't know why it fails, but it looks like the commands specified to
install the IXWebSocket library are problematic. (And anyway we don't
want to install the library after the compilation process.)
This commit is contained in:
David Capello 2021-10-04 18:07:28 -03:00
parent f8dabfa294
commit b6d7c1e261

View File

@ -162,6 +162,7 @@ if(ENABLE_SCRIPTING)
# ixwebsocket
if(ENABLE_WEBSOCKET)
set(IXWEBSOCKET_INSTALL OFF CACHE BOOL "Install IXWebSocket")
add_subdirectory(IXWebSocket)
target_include_directories(ixwebsocket PUBLIC)
endif()