Using ${CMAKE_CURRENT_SOURCE_DIR} is definitely a better choice as cppcheck is invoked.
ccpcheck starts from  run_jenkins_compilation.sh
Thomasthon is back