5d56065e93
Former-commit-id: d6738a8d8b0c9482ef5a7416af5b732422e37dbe
26 lines
685 B
CMake
26 lines
685 B
CMake
add_library(concordia-server SHARED
|
|
concordia_server.cpp
|
|
)
|
|
|
|
add_subdirectory(t)
|
|
# =====================================
|
|
|
|
install(TARGETS concordia-server DESTINATION lib/)
|
|
install(FILES concordia_server.hpp DESTINATION include/concordia-server/)
|
|
|
|
target_link_libraries(concordia-server log4cpp)
|
|
target_link_libraries(concordia-server ${LIBSTEMMER_LIB})
|
|
target_link_libraries(concordia-server ${Boost_LIBRARIES})
|
|
|
|
if (WITH_RE2)
|
|
target_link_libraries(concordia-server re2)
|
|
if (WITH_PCRE)
|
|
target_link_libraries(concordia-server pcrecpp)
|
|
endif(WITH_PCRE)
|
|
else(WITH_RE2)
|
|
if (WITH_PCRE)
|
|
target_link_libraries(concordia-server pcrecpp)
|
|
endif(WITH_PCRE)
|
|
endif(WITH_RE2)
|
|
|