Путь к PVS-Studio.cmake
This commit is contained in:
parent
f8837304e4
commit
e24ea76cda
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user