Files
fail/tools/prune-trace/CMakeLists.txt
Horst Schirmeier 1ad99c9630 cmake: find MySQL client lib
This change introduces a CMake-style FindMySQL.cmake properly looking for
libmysqlclient_r with mysql_config.  This also fixes linking on some
machines.

Change-Id: Ifdbfdc3c7440dead37a8b63aaa86732d636aa0e2
2013-08-29 19:21:31 +02:00

13 lines
350 B
CMake

set(SRCS
Pruner.cc
BasicPruner.cc
)
find_package(MySQL REQUIRED)
include_directories(${MYSQL_INCLUDE_DIR})
## This is the example's campaign server distributing experiment parameters
add_executable(prune-trace main.cc ${SRCS})
target_link_libraries(prune-trace ${MYSQL_LIBRARIES} fail-util)
install(TARGETS prune-trace RUNTIME DESTINATION bin)