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++.
This commit is contained in:
Zeex 2015-04-04 23:24:12 +06:00
parent b57210fe80
commit 0a146f7344
2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
project(pawnamx)
project(pawnamx C)
cmake_minimum_required(VERSION 2.8)
# check for optional include files

View File

@ -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)