From 2636f53619ac7832eda63ebf4f258ba46bf7290e Mon Sep 17 00:00:00 2001 From: "Issam E. Maghni" Date: Sun, 7 Feb 2021 19:38:47 -0500 Subject: [PATCH] CMake: Enable only C for lib and programs projects --- build/cmake/lib/CMakeLists.txt | 2 +- build/cmake/programs/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build/cmake/lib/CMakeLists.txt b/build/cmake/lib/CMakeLists.txt index f34c950a3..179c97624 100644 --- a/build/cmake/lib/CMakeLists.txt +++ b/build/cmake/lib/CMakeLists.txt @@ -7,7 +7,7 @@ # in the COPYING file in the root directory of this source tree). # ################################################################ -project(libzstd) +project(libzstd C) set(CMAKE_INCLUDE_CURRENT_DIR TRUE) option(ZSTD_BUILD_STATIC "BUILD STATIC LIBRARIES" ON) diff --git a/build/cmake/programs/CMakeLists.txt b/build/cmake/programs/CMakeLists.txt index c61fe56ea..f1d127746 100644 --- a/build/cmake/programs/CMakeLists.txt +++ b/build/cmake/programs/CMakeLists.txt @@ -7,7 +7,7 @@ # in the COPYING file in the root directory of this source tree). # ################################################################ -project(programs) +project(programs C) set(CMAKE_INCLUDE_CURRENT_DIR TRUE) -- 2.39.2