From d80861480eb3f96c9f4024219cb664b961221e65 Mon Sep 17 00:00:00 2001 From: chmwang Date: Tue, 25 Oct 2022 10:47:32 +0800 Subject: [PATCH 1/2] add missing header --- include/ff/sql/mysql/times.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/ff/sql/mysql/times.h b/include/ff/sql/mysql/times.h index 75e3661..2a9e665 100644 --- a/include/ff/sql/mysql/times.h +++ b/include/ff/sql/mysql/times.h @@ -25,6 +25,7 @@ #include "ff/sql/table_create.h" #include #include +#include /** types method of date, time, datetime, timestamp, year are defined in setDatetime and getString, the type defination as one data structure MYSQL_TIME on : usr/include/mysql/mysql_time.h From 45135affe6793789c76da4ef1ebe5c9080030210 Mon Sep 17 00:00:00 2001 From: chmwang Date: Thu, 2 Feb 2023 15:26:03 +0800 Subject: [PATCH 2/2] add cpack --- CMakeLists.txt | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 7b14c29..da29e98 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -35,6 +35,13 @@ else() message(STATUS "not found protobuf, gonna ignore protobuf support") endif() +set(CPACK_PACKAGE_NAME "fflib") +set(CPACK_PACKAGE_VENDOR "YeeZTech") +set(CPACK_PACKAGE_CONTACT "fidelius@yeez.tech") +set(CPACK_COMPONENTS_GROUPING ONE_PER_GROUP) + +include(CPack) + MACRO(INSTALL_HEADERS_WITH_DIRECTORY HEADER_LIST) FOREACH(HEADER ${${HEADER_LIST}}) STRING(REPLACE "${PROJECT_SOURCE_DIR}/" "" RPATH ${HEADER})