Browse Source

Merge pull request #872 from majestrate/fix-websocket-cmake

fix cmake compile error with websockets
pull/873/head
Jeff 8 years ago committed by GitHub
parent
commit
bd221d60d6
  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