[NTOBJSHEX] Disable exceptions in atl when compiling without exceptions
authorMark Jansen <mark.jansen@reactos.org>
Tue, 16 Apr 2019 20:51:34 +0000 (22:51 +0200)
committerMark Jansen <mark.jansen@reactos.org>
Thu, 18 Apr 2019 17:21:38 +0000 (19:21 +0200)
dll/shellext/ntobjshex/CMakeLists.txt

index 854c8a6..3015c64 100644 (file)
@@ -1,6 +1,9 @@
 
 project(SHELL)
 
+add_definitions(
+    -D_ATL_NO_EXCEPTIONS)
+
 set_cpp(WITH_RUNTIME)
 
 if(NOT MSVC)