From aff8581f6df667814a61a980dfdfe602e2dacce9 Mon Sep 17 00:00:00 2001 From: Mark Jansen Date: Thu, 18 Apr 2019 19:21:00 +0200 Subject: [PATCH] [RSHELL] Disable exceptions in atl when compiling without exceptions --- base/shell/rshell/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/base/shell/rshell/CMakeLists.txt b/base/shell/rshell/CMakeLists.txt index 5d4170d58e5..a2722178bbd 100644 --- a/base/shell/rshell/CMakeLists.txt +++ b/base/shell/rshell/CMakeLists.txt @@ -1,5 +1,8 @@ PROJECT(SHELL) +add_definitions( + -D_ATL_NO_EXCEPTIONS) + set_cpp(WITH_RUNTIME) include_directories(