From 895afcd5555cb625a86b071078f8f30f16030c36 Mon Sep 17 00:00:00 2001 From: This Is Not My Real Name Date: Fri, 8 Apr 2016 10:29:56 -0500 Subject: [PATCH] Fixed issue where cmake (3.2.2) does not understand its own tests (#41) * Fixed issue where cmake (3.2.2) does not understand its own tests CMake Error at /usr/local/share/cmake-3.2/Modules/CheckIncludeFiles.cmake:74 (try_compile): Unknown extension ".c" for file * Set PROJECT to default (C/C++) in CMakeLists.txt since specifying CXX would cause problems in some older versions of cmake --- CMakeLists.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index ad5ad995..045ebb97 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,7 +2,7 @@ # Copyright (C) Electronic Arts Inc. All rights reserved. #------------------------------------------------------------------------------------------- cmake_minimum_required(VERSION 3.1) -project(EASTL CXX) +project(EASTL) #------------------------------------------------------------------------------------------- # Options @@ -83,4 +83,3 @@ target_link_libraries(EASTL EABase) install(TARGETS EASTL DESTINATION lib) install(DIRECTORY include/EASTL DESTINATION include) install(DIRECTORY test/packages/EABase/include/Common/EABase DESTINATION include) -