mirror of
https://github.com/PurpleI2P/i2pd
synced 2024-11-13 01:20:22 +03:00
Merge pull request #872 from majestrate/fix-websocket-cmake
fix cmake compile error with websockets
This commit is contained in:
commit
bd221d60d6
@ -110,7 +110,7 @@ set (CLIENT_SRC
|
|||||||
)
|
)
|
||||||
|
|
||||||
if(WITH_WEBSOCKETS)
|
if(WITH_WEBSOCKETS)
|
||||||
list (APPEND CLIENT_SRC "${LIBI2PD_SRC_DIR}/Websocket.cpp")
|
list (APPEND CLIENT_SRC "${LIBI2PD_CLIENT_SRC_DIR}/Websocket.cpp")
|
||||||
endif ()
|
endif ()
|
||||||
add_library(i2pdclient ${CLIENT_SRC})
|
add_library(i2pdclient ${CLIENT_SRC})
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#ifdef USE_EVENTS
|
#ifdef WITH_EVENTS
|
||||||
#include "Websocket.h"
|
#include "Websocket.h"
|
||||||
#include "Log.h"
|
#include "Log.h"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user