diff --git a/CMLibCodeAnalysisPvsStudio.cmake b/CMLibCodeAnalysisPvsStudio.cmake index 19d5c2d..b76eed8 100644 --- a/CMLibCodeAnalysisPvsStudio.cmake +++ b/CMLibCodeAnalysisPvsStudio.cmake @@ -10,6 +10,7 @@ function(add_pvs_check) COMPILE_COMMANDS HIDE_HELP OUTPUT FORMAT errorfile + CONFIG "${CMAKE_BINARY_DIR}/PVS-Studio-${_target}.cfg" CFG_TEXT "analysis-mode=29" MODE GA:1,2,3;64:1;OP:1,2;CS:1,2) else()