From 9aa7700d0686dea2a4f6422b31732c142abd368d Mon Sep 17 00:00:00 2001 From: Gandalf-the-Grey Date: Wed, 23 Jul 2014 10:15:46 -0400 Subject: [PATCH] Fix for Linux needed to build Keyhotee. --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 3b0ed56..fb27c3c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -202,6 +202,7 @@ ELSE() IF(APPLE) SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -stdlib=libc++ -Wall") ELSE() + target_compile_options(fc PUBLIC -std=c++11 -Wall -fnon-call-exceptions) SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wall -fnon-call-exceptions") ENDIF() ENDIF()