From 67c9d839bffbfe4c4f5356a0fcd293774820f550 Mon Sep 17 00:00:00 2001 From: Christian Eltzschig Date: Sun, 30 Jan 2022 13:50:08 +0100 Subject: [PATCH] iox-#1054 C++ standard is C++17 when platform is unknown Signed-off-by: Christian Eltzschig --- iceoryx_hoofs/cmake/IceoryxPlatform.cmake | 2 ++ 1 file changed, 2 insertions(+) diff --git a/iceoryx_hoofs/cmake/IceoryxPlatform.cmake b/iceoryx_hoofs/cmake/IceoryxPlatform.cmake index 7a29b7986c8..02bfe58962f 100644 --- a/iceoryx_hoofs/cmake/IceoryxPlatform.cmake +++ b/iceoryx_hoofs/cmake/IceoryxPlatform.cmake @@ -33,6 +33,8 @@ elseif(APPLE) set(ICEORYX_CXX_STANDARD 17) elseif(UNIX) set(ICEORYX_CXX_STANDARD 17) +else + set(ICEORYX_CXX_STANDARD 17) endif() if(CMAKE_CXX_COMPILER_ID MATCHES "MSVC")