From 0f60294c56ca6a25236fdf3c01ff80d9c4d68860 Mon Sep 17 00:00:00 2001 From: Mark Jansen Date: Tue, 16 Apr 2019 22:49:55 +0200 Subject: [PATCH] [APPHELP_APITEST] Disable exceptions in atl when compiling without exceptions --- modules/rostests/apitests/apphelp/CMakeLists.txt | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/modules/rostests/apitests/apphelp/CMakeLists.txt b/modules/rostests/apitests/apphelp/CMakeLists.txt index 40da34c9054..5a17d8cbfe7 100644 --- a/modules/rostests/apitests/apphelp/CMakeLists.txt +++ b/modules/rostests/apitests/apphelp/CMakeLists.txt @@ -1,5 +1,12 @@ project(appcompat) -add_definitions(-D__ROS_LONG64__ -DWINETEST_USE_DBGSTR_LONGLONG -DUNICODE -D_UNICODE) + +add_definitions( + -D__ROS_LONG64__ + -DWINETEST_USE_DBGSTR_LONGLONG + -DUNICODE + -D_UNICODE + -D_ATL_NO_EXCEPTIONS) + set_cpp(WITH_RUNTIME) include_directories(${REACTOS_SOURCE_DIR}/sdk/lib/atl