From db3fd0d6b695ee627ee95f211fc14d5ec6c9b50c Mon Sep 17 00:00:00 2001 From: tqcq <99722391+tqcq@users.noreply.github.com> Date: Tue, 5 Dec 2023 11:49:59 +0800 Subject: [PATCH] fix add install TARGETS --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6af5ea0..007f8e5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -26,3 +26,5 @@ target_include_directories(${PROJECT_NAME} PUBLIC src) add_executable(ulib_main_test src/main.cpp) target_link_libraries(ulib_main_test PRIVATE ${PROJECT_NAME}) + +install(TARGETS ${PROJECT_NAME} DESTINATION lib)