Skip to content
Snippets Groups Projects
Commit 17e76c14 authored by Horst Schirmeier's avatar Horst Schirmeier Committed by Horst Schirmeier
Browse files

cpn: needs comm and MySQL at link time

The dependency on fail-comm exists not only at compile time (the
latter is due to protobuf header generation).

Change-Id: I2bae51e763d9a385bda94e77df3e88619fa28a30
parent 81341498
No related branches found
No related tags found
No related merge requests found
...@@ -4,6 +4,11 @@ set(SRCS ...@@ -4,6 +4,11 @@ set(SRCS
DatabaseCampaign.cc DatabaseCampaign.cc
) )
find_package(MySQL REQUIRED)
include_directories(${MYSQL_INCLUDE_DIR})
add_library(fail-cpn ${SRCS}) add_library(fail-cpn ${SRCS})
target_link_libraries(fail-cpn fail-comm ${MYSQL_LIBRARIES})
# make sure protobufs are generated before we include them
add_dependencies(fail-cpn fail-comm) add_dependencies(fail-cpn fail-comm)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment