From 3376d1b7716e7e0b9627e07c0754436c13400967 Mon Sep 17 00:00:00 2001 From: c9s Date: Tue, 10 Nov 2015 19:58:28 +0800 Subject: [PATCH] Judy array is not used. --- CMakeLists.txt | 5 +++-- src/edge.c | 3 --- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index cd353f6..8820ced 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -20,9 +20,10 @@ include_directories(. ${PROJECT_SOURCE_DIR}/include ${PROJECT_SOURCE_DIR}/src ${ link_directories(${LINK_DIRECTORIES} /opt/local/lib) find_package(PCRE REQUIRED) -find_package(Judy REQUIRED) +# find_package(Judy REQUIRED) -set(LIBS ${LIBS} ${PCRE_LIBRARIES} ${Judy_LIBRARIES} r3) +# set(LIBS ${LIBS} ${PCRE_LIBRARIES} ${Judy_LIBRARIES} r3) +set(LIBS ${LIBS} ${PCRE_LIBRARIES} r3) # set (CMAKE_CXX_FLAGS "-std=c++0x -arch x86_64 -stdlib=libc++ -g3 -Wall -O0") enable_testing() diff --git a/src/edge.c b/src/edge.c index 8b2f1cb..4040a84 100644 --- a/src/edge.c +++ b/src/edge.c @@ -15,9 +15,6 @@ // PCRE #include - -// Judy array -// #include #include "r3.h" #include "r3_str.h" #include "slug.h"