Skip to content
Snippets Groups Projects

cppcheck, try to use proper install prefix so as the files to be able to be located

1 file
+ 4
0
Compare changes
  • Side-by-side
  • Inline
@@ -32,8 +32,12 @@ ExternalProject_Add( cppcheck
ExternalProject_Add_Step( cppcheck buildinstall
COMMAND ${CMAKE_COMMAND} -E remove_directory
"${_buildDir}/cmake"
# copy the cfg dir under bin so can be found...
COMMAND ${CMAKE_COMMAND} -E copy_directory
"${_buildDir}/share/Cppcheck/cfg/" "${_buildDir}/bin/cfg/"
COMMAND ${CMAKE_COMMAND} -E copy_directory
"${_buildDir}/" "<INSTALL_DIR>"
COMMENT "Installing cppcheck into the build area"
DEPENDEES install )
ExternalProject_Add_Step( cppcheck forcedownload
Loading