Fixed missing ${EMBEDDED_LIB} variables and changed to the proper template config file.

This commit is contained in:
Markus Makela
2014-09-19 11:41:44 +03:00
parent c97cbd0a7f
commit c868fedb87
6 changed files with 10 additions and 14 deletions

View File

@ -1,4 +1,4 @@
add_library(binlogrouter SHARED blr.c blr_master.c blr_cache.c blr_slave.c blr_file.c)
set_target_properties(binlogrouter PROPERTIES INSTALL_RPATH ${CMAKE_INSTALL_RPATH}:${CMAKE_INSTALL_PREFIX}/lib)
target_link_libraries(binlogrouter ssl pthread log_manager mysqld)
target_link_libraries(binlogrouter ssl pthread log_manager ${EMBEDDED_LIB})
install(TARGETS binlogrouter DESTINATION modules)