Skip to content
Snippets Groups Projects
Commit 9542d747 authored by demiralp's avatar demiralp
Browse files

Remove environment variable locations from find_file in cppcheck.cmake for...

Remove environment variable locations from find_file in cppcheck.cmake for consistency of executable and cfg files.
parent d1a94d1e
No related branches found
No related tags found
1 merge request!52Feature/#9 cppcheck support
......@@ -21,8 +21,7 @@
set(CPPCHECK_COMMAND NOTFOUND)
find_file(CPPCHECK_COMMAND NAMES cppcheck cppcheck.exe
HINTS ${CONAN_BIN_DIRS_CPPCHECK} ${CONAN_BIN_DIRS_CPPCHECK_RELEASE}
$ENV{PATH} $ENV{CPPCHECK_DIR})
PATHS ${CONAN_BIN_DIRS_CPPCHECK} ${CONAN_BIN_DIRS_CPPCHECK_RELEASE})
if(NOT CPPCHECK_COMMAND)
message(SEND_ERROR
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment