From 58bd7d93762e7a5eeba17e0cdb527b7f600ddc64 Mon Sep 17 00:00:00 2001 From: Xavier Del Campo Romero Date: Wed, 2 Aug 2023 13:06:08 +0200 Subject: [PATCH] CMakeLists.txt: Set project language to C Otherwise, CMake tests the system C++ compiler by default, which is not a requirement for dynstr. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 728a46e..be96416 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -11,6 +11,6 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -project(dynstr) +project(dynstr C) add_library(${PROJECT_NAME} STATIC "dynstr.c") target_include_directories(${PROJECT_NAME} PUBLIC "include")