mirror of
https://github.com/google/googletest.git
synced 2025-04-05 13:35:03 +00:00
Fixes extensions missing for QNX
This commit is contained in:
parent
10b1902d89
commit
44517f9888
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ if (CMAKE_VERSION VERSION_LESS "3.1")
|
|||
else()
|
||||
set(CMAKE_CXX_STANDARD 11)
|
||||
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||
if(NOT CYGWIN AND NOT MSYS)
|
||||
if(NOT CYGWIN AND NOT MSYS AND NOT ${CMAKE_SYSTEM_NAME} STREQUAL QNX)
|
||||
set(CMAKE_CXX_EXTENSIONS OFF)
|
||||
endif()
|
||||
endif()
|
||||
|
|
Loading…
Add table
Reference in a new issue