修改ci编译失败问题
This commit is contained in:
@@ -39,4 +39,5 @@ set(KNI_VAR_VERSION "${KNI_VERSION_MAJOR}_${KNI_VERSION_MINOR}_${KNI_VERSION_PAT
|
|||||||
# print information
|
# print information
|
||||||
message(STATUS "Welcome to KNI, Version: ${KNI_GIT_VERSION}")
|
message(STATUS "Welcome to KNI, Version: ${KNI_GIT_VERSION}")
|
||||||
add_definitions(-DKNI_GIT_VERSION=\"${KNI_GIT_VERSION}\")
|
add_definitions(-DKNI_GIT_VERSION=\"${KNI_GIT_VERSION}\")
|
||||||
|
string(REGEX REPLACE "[-:+/\\.]" "_" KNI_VAR_VERSION ${KNI_VAR_VERSION})
|
||||||
add_definitions(-DKNI_VAR_VERSION=${KNI_VAR_VERSION})
|
add_definitions(-DKNI_VAR_VERSION=${KNI_VAR_VERSION})
|
||||||
|
|||||||
@@ -35,6 +35,8 @@ extern "C" {
|
|||||||
#include "kni_dynamic_bypass.h"
|
#include "kni_dynamic_bypass.h"
|
||||||
|
|
||||||
|
|
||||||
|
#define KNI_VAR_VERSION 20_09_v20_09_a59d3a1
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C"
|
extern "C"
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user