Skip to content
Snippets Groups Projects
Commit 8a2b29a3 authored by Konstantinos Sideris's avatar Konstantinos Sideris
Browse files

Be compatible with cmake 3.1

parent f77a1032
No related branches found
No related tags found
No related merge requests found
......@@ -103,7 +103,6 @@ set(PROJECT_VERSION ${CPACK_PACKAGE_VERSION})
message(STATUS "Version: ${PROJECT_VERSION}")
cmake_host_system_information(RESULT BUILD_HOST QUERY HOSTNAME)
cmake_host_system_information(RESULT BUILD_OS QUERY OS_NAME)
set(BUILD_USER $ENV{USER})
configure_file(cmake/version.hpp config/version.hpp)
......
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}";
}
......@@ -58,7 +58,7 @@ namespace roomlist {
namespace fonts {
static constexpr int heading = 13;
static constexpr int timestamp = heading;
static constexpr int badge = 9;
static constexpr int badge = 10;
static constexpr int bubble = 20;
} // namespace fonts
} // namespace roomlist
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment