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/lib/CMakeLists.txt | |
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/lib/CMakeLists.txt')
-rw-r--r-- | src/utils/lib/CMakeLists.txt | 3 |
1 files changed, 2 insertions, 1 deletions
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 |