Allow external builds to use non-gnu compilers

JerryScript-DCO-1.0-Signed-off-by: François Baldassari francois@pebble.com
This commit is contained in:
François Baldassari
2016-03-09 17:38:06 -08:00
parent 7b047d4b20
commit 05e7a837c4
5 changed files with 5 additions and 2 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ project (Jerry C ASM)
string(TOUPPER "${PLATFORM}" PLATFORM)
# Compiler configuration
if(NOT ("${PLATFORM}" STREQUAL "DARWIN"))
if(NOT (("${PLATFORM}" STREQUAL "DARWIN") OR ("${PLATFORM}" STREQUAL "EXTERNAL")))
if(NOT CMAKE_COMPILER_IS_GNUCC)
message(FATAL_ERROR "gcc compiler is required")
endif()