From b2db527b9674174b704aaa297afa257215d8a290 Mon Sep 17 00:00:00 2001 From: Manuel Bentele Date: Mon, 12 Oct 2020 09:11:17 +0200 Subject: Print version string in kernel log --- CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 3095d7e..fa32699 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -31,7 +31,8 @@ endif() # get versions to define project version get_kernel_version(LINUX_KERNEL_VERSION) get_repository_version(REPOSITORY_VERSION) -set(VERSION ${LINUX_KERNEL_VERSION}-${REPOSITORY_VERSION}) +set(VERSION ${LINUX_KERNEL_VERSION}-${REPOSITORY_VERSION} + CACHE STRING "Version of xloop package") # define packaging if Release build is enabled if(${CMAKE_BUILD_TYPE} MATCHES Release) -- cgit v1.2.3-55-g7522