From 6f8647dbbf17f3e88064a751009163b3a9319b34 Mon Sep 17 00:00:00 2001 From: Phillip Stephens Date: Tue, 14 Jun 2016 18:42:18 -0700 Subject: [PATCH] Fix narrowing errors on gcc --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index f8d1ed9..feecc72 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.0) project(boo) if (NOT MSVC) -set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14") +set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14 -Wno-narrowing") endif() if (NOT TARGET logvisor)