fix cmake compile error with websockets

This commit is contained in:
Jeff Becker 2017-05-21 08:18:16 -04:00
parent e4cd1a465c
commit 8a3bb50143
2 changed files with 16 additions and 16 deletions

View file

@ -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})

View file

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