enable gcc extensions (needed for cygwin support)

This commit is contained in:
DaanDeMeyer 2018-03-26 17:17:37 +02:00 committed by Fangrui Song
parent fdba724f07
commit bbf7feae19

View File

@ -27,8 +27,6 @@ add_executable(cquery "")
# Enable C++14 (Required)
set_property(TARGET cquery PROPERTY CXX_STANDARD 14)
set_property(TARGET cquery PROPERTY CXX_STANDARD_REQUIRED ON)
# Disable gcc extensions
set_property(TARGET cquery PROPERTY CXX_EXTENSIONS OFF)
if(${CMAKE_SYSTEM_NAME} STREQUAL Windows)
# Common MSVC/Clang(Windows) options