diff options
Diffstat (limited to 'plugins/Db3x_mmap/CMakeLists.txt')
-rw-r--r-- | plugins/Db3x_mmap/CMakeLists.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/Db3x_mmap/CMakeLists.txt b/plugins/Db3x_mmap/CMakeLists.txt index eee167c6a9..d30807aa46 100644 --- a/plugins/Db3x_mmap/CMakeLists.txt +++ b/plugins/Db3x_mmap/CMakeLists.txt @@ -1,3 +1,8 @@ file(GLOB SOURCES "src/*.h" "src/*.cpp" "src/dbtool/*.cpp" "res/*.rc") set(TARGET Dbx_mmap) + +# Just a workaround. Better to fix plugins that do not compile with this option. +# Even Microsoft recommends to use standard exception handling. +string(REPLACE "/EHsc" "" CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS}) + include(${CMAKE_SOURCE_DIR}/cmake/plugin.cmake)
\ No newline at end of file |