11 lines
366 B
CMake
11 lines
366 B
CMake
|
|
add_definitions(-D_GNU_SOURCE)
|
||
|
|
add_definitions(-fPIC)
|
||
|
|
|
||
|
|
include_directories(${PROJECT_SOURCE_DIR}/deps)
|
||
|
|
include_directories(${PROJECT_SOURCE_DIR}/include)
|
||
|
|
|
||
|
|
add_library(adapter-static adapter_hs.cpp bool_matcher.cpp)
|
||
|
|
|
||
|
|
#add_executable(adapter_gtest adapter_hs_gtest.cpp)
|
||
|
|
target_link_libraries(adapter-static hyperscan_static hyperscan_runtime_static ipmatcher-static)
|