Skip to content

Commit

Permalink
Fixed issue where cmake (3.2.2) does not understand its own tests (#41)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
HFTrader authored and rparolin committed Apr 8, 2016
1 parent 35f09aa commit 895afcd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Copyright (C) Electronic Arts Inc. All rights reserved.
#-------------------------------------------------------------------------------------------
cmake_minimum_required(VERSION 3.1)
project(EASTL CXX)
project(EASTL)

#-------------------------------------------------------------------------------------------
# Options
Expand Down Expand Up @@ -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)

0 comments on commit 895afcd

Please sign in to comment.