diff --git a/srcs/CMakeLists.txt b/srcs/CMakeLists.txt index f26eeef..a734d63 100644 --- a/srcs/CMakeLists.txt +++ b/srcs/CMakeLists.txt @@ -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}) diff --git a/srcs/libs/CMakeLists.txt b/srcs/libs/CMakeLists.txt index f0bf074..c7a224b 100644 --- a/srcs/libs/CMakeLists.txt +++ b/srcs/libs/CMakeLists.txt @@ -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)