From 8a2b29a3bfdf163f298b7e90a71fc5e86429b209 Mon Sep 17 00:00:00 2001 From: Konstantinos Sideris Date: Thu, 22 Mar 2018 16:34:11 +0200 Subject: Be compatible with cmake 3.1 --- cmake/version.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmake') diff --git a/cmake/version.hpp b/cmake/version.hpp index 272e84ac..204bc895 100644 --- a/cmake/version.hpp +++ b/cmake/version.hpp @@ -1,5 +1,5 @@ namespace nheko { static constexpr const char *version = "${PROJECT_VERSION}"; static constexpr const char *build_user = "${BUILD_USER}@${BUILD_HOST}"; -static constexpr const char *build_os = "${BUILD_OS}"; +static constexpr const char *build_os = "${CMAKE_HOST_SYSTEM_NAME}"; } -- cgit 1.5.1