Browse Source

fix cmake compile error with websockets

pull/872/head
Jeff Becker 8 years ago
parent
commit
8a3bb50143
  1. 2
      build/CMakeLists.txt
  2. 2
      libi2pd_client/Websocket.cpp

2
build/CMakeLists.txt

@ -110,7 +110,7 @@ set (CLIENT_SRC @@ -110,7 +110,7 @@ set (CLIENT_SRC
)
if(WITH_WEBSOCKETS)
list (APPEND CLIENT_SRC "${LIBI2PD_SRC_DIR}/Websocket.cpp")
list (APPEND CLIENT_SRC "${LIBI2PD_CLIENT_SRC_DIR}/Websocket.cpp")
endif ()
add_library(i2pdclient ${CLIENT_SRC})

2
libi2pd_client/Websocket.cpp

@ -1,4 +1,4 @@ @@ -1,4 +1,4 @@
#ifdef USE_EVENTS
#ifdef WITH_EVENTS
#include "Websocket.h"
#include "Log.h"

Loading…
Cancel
Save