From 74001fb4ce5041c3deb42a0ca252ae338aa571db Mon Sep 17 00:00:00 2001 From: gcontini <1121667+gcontini@users.noreply.github.com> Date: 周六, 07 12月 2019 18:13:59 +0800 Subject: [PATCH] modified cmake scripts for easy export and import --- src/library/base/CMakeLists.txt | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/library/base/CMakeLists.txt b/src/library/base/CMakeLists.txt index 0a61fdf..9eedd07 100644 --- a/src/library/base/CMakeLists.txt +++ b/src/library/base/CMakeLists.txt @@ -6,6 +6,7 @@ base64.c ) -add_dependencies( base public_key ) +add_dependencies( base project_initialize ) -install(TARGETS base ARCHIVE DESTINATION lib) +install(TARGETS base EXPORT licensecc ARCHIVE DESTINATION lib/${PROJECT_NAME}/${LCC_PROJECT_NAME}) + -- Gitblit v1.9.1