Added optional RabbitMQ component configuration

Changed all the configuration variables to cached
Fixed some errors in tests
This commit is contained in:
Markus Makela
2014-09-14 07:30:41 +03:00
parent df7590c167
commit 5d26cf6fd5
5 changed files with 48 additions and 58 deletions

View File

@ -2,7 +2,7 @@ if(BUILD_RABBITMQ)
add_library(mqfilter SHARED mqfilter.c)
set_target_properties(mqfilter PROPERTIES INSTALL_RPATH ${CMAKE_INSTALL_RPATH}:${CMAKE_INSTALL_PREFIX}/lib)
target_link_libraries(mqfilter utils query_classifier log_manager rabbitmq)
install(TARGETS DESTINATION modules)
install(TARGETS mqfilter DESTINATION modules)
endif(BUILD_RABBITMQ)
add_library(regexfilter SHARED regexfilter.c)