diff options
| author | Manuel Bentele | 2020-10-27 07:23:38 +0100 |
|---|---|---|
| committer | Manuel Bentele | 2020-10-27 07:23:38 +0100 |
| commit | 089444e957d66375fbf4678a65d5106c7349223a (patch) | |
| tree | ea58f8b1859579a004d53289281948d91dfc13be /src/utils | |
| parent | Add CMake build requirements check to find libraries and Linux kernel headers (diff) | |
| download | xloop-089444e957d66375fbf4678a65d5106c7349223a.tar.gz xloop-089444e957d66375fbf4678a65d5106c7349223a.tar.xz xloop-089444e957d66375fbf4678a65d5106c7349223a.zip | |
Remove the build requirement for an unused C++ compiler
This patch sets the programming languages of each CMake project to C. With this
change, CMake does not search for an unused C++ compiler anymore.
Diffstat (limited to 'src/utils')
| -rw-r--r-- | src/utils/CMakeLists.txt | 3 | ||||
| -rw-r--r-- | src/utils/lib/CMakeLists.txt | 3 | ||||
| -rw-r--r-- | src/utils/libsmartcols/CMakeLists.txt | 3 | ||||
| -rw-r--r-- | src/utils/sys-utils/CMakeLists.txt | 3 |
4 files changed, 8 insertions, 4 deletions
diff --git a/src/utils/CMakeLists.txt b/src/utils/CMakeLists.txt index f3ea912..e791a40 100644 --- a/src/utils/CMakeLists.txt +++ b/src/utils/CMakeLists.txt @@ -1,7 +1,8 @@ cmake_minimum_required(VERSION 3.10) # set the project name -project(xloop-utils) +project(xloop-utils + LANGUAGES C) # include global headers include_directories(${CMAKE_CURRENT_SOURCE_DIR}/include) diff --git a/src/utils/lib/CMakeLists.txt b/src/utils/lib/CMakeLists.txt index 22eafb3..ac70039 100644 --- a/src/utils/lib/CMakeLists.txt +++ b/src/utils/lib/CMakeLists.txt @@ -1,7 +1,8 @@ cmake_minimum_required(VERSION 3.10) # set the project name -project(xloop-utils-lib) +project(xloop-utils-lib + LANGUAGES C) add_library(libcommon STATIC ${CMAKE_CURRENT_SOURCE_DIR}/blkdev.c ${CMAKE_CURRENT_SOURCE_DIR}/canonicalize.c diff --git a/src/utils/libsmartcols/CMakeLists.txt b/src/utils/libsmartcols/CMakeLists.txt index dccb5e2..307f06d 100644 --- a/src/utils/libsmartcols/CMakeLists.txt +++ b/src/utils/libsmartcols/CMakeLists.txt @@ -1,7 +1,8 @@ cmake_minimum_required(VERSION 3.10) # set the project name -project(xloop-utils-libsmartcols) +project(xloop-utils-libsmartcols + LANGUAGES C) add_library(libsmartcols STATIC ${CMAKE_CURRENT_SOURCE_DIR}/src/buffer.c ${CMAKE_CURRENT_SOURCE_DIR}/src/calculate.c diff --git a/src/utils/sys-utils/CMakeLists.txt b/src/utils/sys-utils/CMakeLists.txt index e05b5cf..56bc69c 100644 --- a/src/utils/sys-utils/CMakeLists.txt +++ b/src/utils/sys-utils/CMakeLists.txt @@ -1,7 +1,8 @@ cmake_minimum_required(VERSION 3.10) # set the project name -project(xloop-utils-sys-utils) +project(xloop-utils-sys-utils + LANGUAGES C) # add xlosetup executable add_executable(xlosetup ${CMAKE_CURRENT_SOURCE_DIR}/xlosetup.c) |
