https://git.reactos.org/?p=reactos.git;a=commitdiff;h=d0a8b98bd82075f6ecc69…
commit d0a8b98bd82075f6ecc6973993e326203ea1859a
Author: Mark Jansen <mark.jansen(a)reactos.org>
AuthorDate: Tue Apr 16 22:51:34 2019 +0200
Commit: Mark Jansen <mark.jansen(a)reactos.org>
CommitDate: Thu Apr 18 19:21:38 2019 +0200
[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 854c8a673e..3015c64994 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)