Skip to content

Commit

Permalink
Added more onto the include path. Refs #4368.
Browse files Browse the repository at this point in the history
  • Loading branch information
peterfpeterson committed Dec 29, 2011
1 parent 035a9be commit 47dc8ee
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Code/Mantid/Build/CMake/FindCppcheck.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,8 @@ function(add_cppcheck _name) # additional arguments are files to ignore

# set the standard arguments
set ( _cppcheck_args )
list ( APPEND _cppcheck_args ${CPPCHECK_TEMPLATE_ARG} ${CPPCHECK_ARGS} "-I" "${CMAKE_CURRENT_SOURCE_DIR}/inc" )
list ( APPEND _cppcheck_args ${CPPCHECK_TEMPLATE_ARG} ${CPPCHECK_ARGS} )
list ( APPEND _cppcheck_args "-I" ${CMAKE_CURRENT_SOURCE_DIR} "-I" "${CMAKE_CURRENT_SOURCE_DIR}/inc" )

# add the target
if (CPPCHECK_GENERATE_XML )
Expand Down

0 comments on commit 47dc8ee

Please sign in to comment.