From caf5664f8f3d0835e1a9aa467f85e3dd01b4f790 Mon Sep 17 00:00:00 2001 From: protomors Date: Sat, 2 Jun 2018 10:17:00 +0300 Subject: CMake: /EHsc fix for mir_app. --- src/mir_app/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'src/mir_app') 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 -- cgit v1.2.3