fixed double linking of the embedded library in a statically built internal library
This commit is contained in:
@ -2,10 +2,10 @@ add_executable(test_hash testhash.c)
|
||||
add_executable(test_spinlock testspinlock.c)
|
||||
add_executable(test_filter testfilter.c)
|
||||
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 rt)
|
||||
target_link_libraries(test_adminusers crypto crypt ${EMBEDDED_LIB} ssl fullcore rt m z)
|
||||
target_link_libraries(test_hash fullcore)
|
||||
target_link_libraries(test_spinlock fullcore)
|
||||
target_link_libraries(test_filter fullcore)
|
||||
target_link_libraries(test_adminusers fullcore)
|
||||
add_test(TestHash test_hash)
|
||||
add_test(TestSpinlock test_spinlock)
|
||||
add_test(TestFilter test_filter)
|
||||
|
Reference in New Issue
Block a user