UPDATE:demo使用动态链接
This commit is contained in:
@@ -73,6 +73,6 @@ install(CODE "execute_process( \
|
|||||||
|
|
||||||
|
|
||||||
add_executable(${lib_name}_demo demo/test_handle_logger.c)
|
add_executable(${lib_name}_demo demo/test_handle_logger.c)
|
||||||
target_link_libraries(${lib_name}_demo rt pthread ${lib_name}_static)
|
target_link_libraries(${lib_name}_demo rt pthread ${lib_name}_shared)
|
||||||
|
|
||||||
include(Package)
|
include(Package)
|
||||||
|
|||||||
Reference in New Issue
Block a user