Enable conformance mode for MSVC >= 15.5

This commit is contained in:
Stanislav Ershov 2018-10-19 01:51:37 +03:00
parent f4ae3d5e0d
commit 5d336eb54f
1 changed files with 4 additions and 0 deletions

View File

@ -642,6 +642,10 @@ endif()
target_compile_definitions(Kepka PRIVATE ${FFMPEG_DEFINITIONS})
if(MSVC AND MSVC_VERSION GREATER_EQUAL 1912)
target_compile_options(Kepka PRIVATE /permissive-)
endif()
target_link_libraries(Kepka
Qt5::Core
Qt5::Widgets