Путь к PVS-Studio.cmake

This commit is contained in:
Andrei Astafev 2019-02-19 10:53:12 +03:00
parent f8837304e4
commit e24ea76cda
2 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,7 @@
option(USE_PVS_STUDIO "Use PVS-Studio for static analysis" OFF)
if(USE_PVS_STUDIO)
include(PVS-Studio)
include(3rdparty/PVS-Studio)
find_program(PVS_STUDIO_ANALYZER_EXE NAMES pvs-studio-analyzer)
if(PVS_STUDIO_ANALYZER_EXE AND NOT TARGET pvs-global-checker)
pvs_studio_add_target(TARGET pvs-global-checker