From 93131111deedf101c32a38e11b9a409c0426414f Mon Sep 17 00:00:00 2001 From: Rokas Kupstys Date: Sat, 10 Jun 2017 15:16:52 +0300 Subject: [PATCH] Add -std=gnu++11 flag for TurboBadger --- Source/ThirdParty/TurboBadger/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Source/ThirdParty/TurboBadger/CMakeLists.txt b/Source/ThirdParty/TurboBadger/CMakeLists.txt index 96b8548a33..7e52995cdb 100644 --- a/Source/ThirdParty/TurboBadger/CMakeLists.txt +++ b/Source/ThirdParty/TurboBadger/CMakeLists.txt @@ -22,3 +22,6 @@ set (SOURCE_FILES ${C_FILES} ${H_FILES}) add_library(TurboBadger ${SOURCE_FILES}) target_include_directories(TurboBadger SYSTEM BEFORE PUBLIC .) +if (NOT MSVC) + target_compile_options(TurboBadger PRIVATE -std=gnu++11) +endif ()