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,6 +1,6 @@
file(GLOB FULLCORE_SRC *.c)
add_library(fullcore STATIC ${FULLCORE_SRC})
target_link_libraries(fullcore utils log_manager aio pthread crypt dl mysqld crypto inih)
target_link_libraries(fullcore utils log_manager aio pthread crypt dl ${EMBEDDED_LIB} crypto inih z)
add_executable(maxscale atomic.c buffer.c spinlock.c gateway.c
gw_utils.c utils.c dcb.c load_utils.c session.c service.c server.c

View File

@ -5,7 +5,7 @@ add_executable(test_adminusers testadminusers.c)
target_link_libraries(test_hash crypto ssl pthread log_manager fullcore)
target_link_libraries(test_spinlock crypto ssl pthread log_manager fullcore)
target_link_libraries(test_filter crypto ssl pthread log_manager fullcore)
target_link_libraries(test_adminusers crypto crypt mysqld ssl fullcore)
target_link_libraries(test_adminusers crypto crypt ${EMBEDDED_LIB} ssl fullcore)
add_test(TestHash test_hash)
add_test(TestSpinlock test_spinlock)
add_test(TestFilter test_filter)