diff options
author | protomors <protomors@gmail.com> | 2018-06-02 10:17:00 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2019-07-12 18:09:25 +0300 |
commit | caf5664f8f3d0835e1a9aa467f85e3dd01b4f790 (patch) | |
tree | 47b365893e86d48853a144487c41af0eb6612c30 /src/mir_app | |
parent | b7a6c7fa596253de69a3b0cac9255801f4842cf2 (diff) |
CMake: /EHsc fix for mir_app.
Diffstat (limited to 'src/mir_app')
-rw-r--r-- | src/mir_app/CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mir_app/CMakeLists.txt b/src/mir_app/CMakeLists.txt index 4b061f20b8..e9154b2499 100644 --- a/src/mir_app/CMakeLists.txt +++ b/src/mir_app/CMakeLists.txt @@ -5,6 +5,7 @@ else() list(APPEND SOURCES "src/mir_app.def") endif() set(TARGET mir_app) +string(REPLACE "/EHsc" "" CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS}) include(${CMAKE_SOURCE_DIR}/cmake/lib.cmake) target_link_libraries(${TARGET} Zlib FreeImage UxTheme.lib ws2_32.lib) set_target_properties(${TARGET} PROPERTIES COMPILE_DEFINITIONS "MIR_APP_EXPORTS")
\ No newline at end of file |