From 2c661323fac0ba5a54d134a49632c31e7c4ffaa1 Mon Sep 17 00:00:00 2001 From: Romain Forlot Date: Fri, 5 May 2017 00:16:56 +0200 Subject: Adding LANGUAGES to the project. Better compiler version detection Change-Id: I0c363ad462623d02259ef6cf1812e3fa704c75aa Signed-off-by: Romain Forlot --- reference/etc/macros.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'reference/etc/macros.cmake') diff --git a/reference/etc/macros.cmake b/reference/etc/macros.cmake index a002d95..72f55f0 100644 --- a/reference/etc/macros.cmake +++ b/reference/etc/macros.cmake @@ -131,7 +131,7 @@ set(CMP0048 1) # Include project configuration # ------------------------------ -project(${NAME} VERSION ${VERSION}) +project(${PROJECT_NAME} VERSION ${PROJECT_VERSION} LANGUAGES ${PROJECT_LANGUAGES}) set(PROJECT_WGT_DIR "packaging/wgt" CACHE PATH "Subpath to the widget directory") set(PROJECT_LIBDIR "libs" CACHE PATH "Subpath to libraries") set(PROJECT_RESOURCES "data" CACHE PATH "Subpath to data") -- cgit 1.2.3-korg