concordia-library/concordia-console/CMakeLists.txt

22 lines
532 B
CMake
Raw Normal View History

2013-10-24 17:08:58 +02:00
add_executable(concordia-console concordia-console.cpp)
target_link_libraries(concordia-console concordia ${Boost_LIBRARIES} ${LIBCONFIG_LIB} ${LIBSTEMMER_LIB})
if (WITH_RE2)
target_link_libraries(concordia-console re2)
if (WITH_PCRE)
target_link_libraries(concordia-console pcrecpp)
endif(WITH_PCRE)
else(WITH_RE2)
if (WITH_PCRE)
target_link_libraries(concordia-console pcrecpp)
endif(WITH_PCRE)
endif(WITH_RE2)
# =====================================
install(TARGETS concordia-console DESTINATION bin/)