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

fix cmake compile error with websockets
This commit is contained in:
Jeff 2017-05-21 08:38:07 -04:00 committed by GitHub
commit bd221d60d6
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"