From d0a8b98bd82075f6ecc6973993e326203ea1859a Mon Sep 17 00:00:00 2001 From: Mark Jansen Date: Tue, 16 Apr 2019 22:51:34 +0200 Subject: [PATCH] [NTOBJSHEX] Disable exceptions in atl when compiling without exceptions --- dll/shellext/ntobjshex/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dll/shellext/ntobjshex/CMakeLists.txt b/dll/shellext/ntobjshex/CMakeLists.txt index 854c8a673ec..3015c649947 100644 --- a/dll/shellext/ntobjshex/CMakeLists.txt +++ b/dll/shellext/ntobjshex/CMakeLists.txt @@ -1,6 +1,9 @@ project(SHELL) +add_definitions( + -D_ATL_NO_EXCEPTIONS) + set_cpp(WITH_RUNTIME) if(NOT MSVC)