OCT 1. 工程明确指定为C语言

This commit is contained in:
huangxin 2023-04-18 09:02:57 +08:00
parent c9b4bb1105
commit fbca4be831
2 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@ IF (VCPE_AGENT)
SET(PROJECT_TARGET_AGENT vcpe_agent)
ENDIF ()
PROJECT(${PROJECT_TARGET})
PROJECT(${PROJECT_TARGET} LANGUAGES C)
ADD_DEFINITIONS(${COMMON_DEFINE})

View File

@ -1,6 +1,6 @@
SET(LIB_PROJECT_TARGET common)
PROJECT(${LIB_PROJECT_TARGET} VERSION 1.1.0)
PROJECT(${LIB_PROJECT_TARGET} LANGUAGES C VERSION 1.1.0)
STRING(REPLACE ";" ", " BUILD_CONFIG_INFO "${COMMON_DEFINE}")
CONFIGURE_FILE(lib_config.h.in lib_config.h)