concordia-library/concordia-server-starter/CMakeLists.txt
Rafał Jaworski 5d56065e93 concordia-server
Former-commit-id: d6738a8d8b0c9482ef5a7416af5b732422e37dbe
2014-04-10 10:35:23 +02:00

22 lines
606 B
CMake

add_executable(concordia-server-starter concordia_server_starter.cpp)
target_link_libraries(concordia-server-starter concordia-server concordia ${Boost_LIBRARIES} ${FCGIPP_LIB} ${FCGI_LIB} ${LIBCONFIG_LIB})
if (WITH_RE2)
target_link_libraries(concordia-server-starter re2)
if (WITH_PCRE)
target_link_libraries(concordia-server-starter pcrecpp)
endif(WITH_PCRE)
else(WITH_RE2)
if (WITH_PCRE)
target_link_libraries(concordia-server-starter pcrecpp)
endif(WITH_PCRE)
endif(WITH_RE2)
# =====================================
install(TARGETS concordia-server-starter DESTINATION bin/)