summaryrefslogtreecommitdiffstats
path: root/reference/etc/macros.cmake
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-05-05 00:16:56 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2018-10-15 18:22:20 +0200
commitff98b3c6e456694562509874b1cb55dade2ace2a (patch)
tree24136f3a3d8dc9a9cdea2edc86881cb216fd0f13 /reference/etc/macros.cmake
parente5de88126771ad86af3374e0180b175f8ffda070 (diff)
Adding LANGUAGES to the project. Better compiler version detection
Change-Id: I0c363ad462623d02259ef6cf1812e3fa704c75aa Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'reference/etc/macros.cmake')
-rw-r--r--reference/etc/macros.cmake2
1 files changed, 1 insertions, 1 deletions
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")