From 0a146f73448eaaa1c07df560bec1dc852fcb7ab0 Mon Sep 17 00:00:00 2001 From: Zeex Date: Sat, 4 Apr 2015 23:24:12 +0600 Subject: [PATCH] Set project language to C check_function_exists() tried to use a C++ compiler for some odd reason, so I've set the language to C explicitly. This shouldn't hurt in theory, since we don't use C++. --- source/amx/CMakeLists.txt | 2 +- source/compiler/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/source/amx/CMakeLists.txt b/source/amx/CMakeLists.txt index f90fc94..608cbdb 100644 --- a/source/amx/CMakeLists.txt +++ b/source/amx/CMakeLists.txt @@ -1,4 +1,4 @@ -project(pawnamx) +project(pawnamx C) cmake_minimum_required(VERSION 2.8) # check for optional include files diff --git a/source/compiler/CMakeLists.txt b/source/compiler/CMakeLists.txt index ab7d9fe..6db9580 100644 --- a/source/compiler/CMakeLists.txt +++ b/source/compiler/CMakeLists.txt @@ -1,4 +1,4 @@ -project(pawnc) +project(pawnc C) cmake_minimum_required(VERSION 2.8) list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/../../cmake)