summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorManuel Bentele2020-09-15 13:38:21 +0200
committerManuel Bentele2020-09-16 07:37:56 +0200
commit0498df6a42c4c1283baf1182823842db6cbb3018 (patch)
tree4282d7616b1e8c93a4a204c946e0f56a1509e7e7
parentAdded partial CMake package component support (diff)
downloadxloop-0498df6a42c4c1283baf1182823842db6cbb3018.tar.gz
xloop-0498df6a42c4c1283baf1182823842db6cbb3018.tar.xz
xloop-0498df6a42c4c1283baf1182823842db6cbb3018.zip
Changed CMake minimum required version to 3.10
This change fixes build issues with the CMake version shipped with CentOS 8.
-rw-r--r--CMakeLists.txt4
-rw-r--r--kernel/CMakeLists.txt2
-rw-r--r--kernel/tests/CMakeLists.txt2
-rw-r--r--kernel/tests/testcases/kernel/syscalls/ioctl/CMakeLists.txt2
4 files changed, 5 insertions, 5 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 560cb71..1b3d2a2 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -6,8 +6,7 @@ include(version)
# define root CMake project
project(xloop
- DESCRIPTION "xloop Kernel modules and utility"
- HOMEPAGE_URL "https://git.openslx.org/openslx-ng/xloop.git/"
+ DESCRIPTION "xloop Linux kernel modules and utility"
LANGUAGES C)
# define project specific settings
@@ -45,6 +44,7 @@ if(${CMAKE_BUILD_TYPE} MATCHES Release)
set(CPACK_PACKAGE_SECTION admin)
set(CPACK_PACKAGE_VENDOR "University of Freiburg")
set(CPACK_PACKAGE_CONTACT "Christian Rößler <christian.roessler@rz.uni-freiburg.de>")
+ set(CPACK_PACKAGE_HOMEPAGE_URL "https://git.openslx.org/openslx-ng/xloop.git/")
set(CPACK_PACKAGE_CHECKSUM SHA256)
set(CPACK_PACKAGE_FILE_NAME ${CPACK_PACKAGE_NAME}_${CPACK_PACKAGE_VERSION}_${CMAKE_SYSTEM_PROCESSOR})
set(CPACK_SOURCE_PACKAGE_FILE_NAME ${CPACK_PACKAGE_NAME}_${CPACK_PACKAGE_VERSION}_source)
diff --git a/kernel/CMakeLists.txt b/kernel/CMakeLists.txt
index e45ffc2..2dace3f 100644
--- a/kernel/CMakeLists.txt
+++ b/kernel/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 3.12)
+cmake_minimum_required(VERSION 3.10)
# set the project name
project(xloop-kernel)
diff --git a/kernel/tests/CMakeLists.txt b/kernel/tests/CMakeLists.txt
index 7bbd7a0..f086864 100644
--- a/kernel/tests/CMakeLists.txt
+++ b/kernel/tests/CMakeLists.txt
@@ -11,4 +11,4 @@ configure_file(${CMAKE_CURRENT_SOURCE_DIR}/include/config.h.in ${CMAKE_CURRENT_B
include_directories(${CMAKE_CURRENT_BINARY_DIR})
add_subdirectory(lib)
-add_subdirectory(testcases/kernel/syscalls/ioctl) \ No newline at end of file
+add_subdirectory(testcases/kernel/syscalls/ioctl)
diff --git a/kernel/tests/testcases/kernel/syscalls/ioctl/CMakeLists.txt b/kernel/tests/testcases/kernel/syscalls/ioctl/CMakeLists.txt
index 79bfa58..6f7c5bb 100644
--- a/kernel/tests/testcases/kernel/syscalls/ioctl/CMakeLists.txt
+++ b/kernel/tests/testcases/kernel/syscalls/ioctl/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 3.12)
+cmake_minimum_required(VERSION 3.10)
project(xloop-kernel-test-ioctl_xloop)