diff --git a/External/cppcheck/CMakeLists.txt b/External/cppcheck/CMakeLists.txt index a725f04855e5569b983d7572a3d4577577b127fd..4fca10535d5c6693d2810a61adc1ef4bb5a0ad43 100644 --- a/External/cppcheck/CMakeLists.txt +++ b/External/cppcheck/CMakeLists.txt @@ -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