From 44517f9888def81f75c1114a0a881bd716331132 Mon Sep 17 00:00:00 2001 From: Mark Jan van Kampen Date: Wed, 22 Jan 2020 22:29:28 +0100 Subject: [PATCH] Fixes extensions missing for QNX --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 755b8b72..4c8188aa 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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()