Fixed missing ${EMBEDDED_LIB} variables and changed to the proper template config file.
This commit is contained in:
@ -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
|
||||
|
||||
@ -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)
|
||||
|
||||
Reference in New Issue
Block a user