diff --git a/lib/nodes/CMakeLists.txt b/lib/nodes/CMakeLists.txt index 1c7dd021d..49651392c 100644 --- a/lib/nodes/CMakeLists.txt +++ b/lib/nodes/CMakeLists.txt @@ -85,11 +85,9 @@ if(LIBZMQ_FOUND AND WITH_IO) endif() # Enable NGSI support -if(CURL_FOUND) - list(APPEND NODE_SRC ngsi.c) - list(APPEND INCLUDE_DIRS ${CURL_INCLUDE_DIRS}) - list(APPEND LIBRARIES ${CURL_LIBRARIES}) -endif() +list(APPEND NODE_SRC ngsi.c) +list(APPEND INCLUDE_DIRS ${CURL_INCLUDE_DIRS}) +list(APPEND LIBRARIES ${CURL_LIBRARIES}) # Enable WebSocket support if(LIBWEBSOCKETS_FOUND AND WITH_WEB AND WITH_IO)