Remove gmxpreprocess from include path
[alexxy/gromacs.git] / tests / CppCheck.cmake
index 918b6304d47e2dc53a9d2ccb87ba703e06a334bc..0e3aeab8f79e9652051acd52ecf959feeea0f7ed 100644 (file)
@@ -74,8 +74,6 @@ if (CPPCHECK_EXECUTABLE AND UNIX)
         --quiet
         ${_outputopt})
     set(_c_flags
-        -I src/gromacs/gmxpreprocess
-        -I src/programs/mdrun
         --suppress=variableScope
         --suppress=unnecessaryForwardDeclaration
         --suppress=unusedVariable
@@ -84,7 +82,7 @@ if (CPPCHECK_EXECUTABLE AND UNIX)
         --suppress=invalidscanf
         --suppress=sizeofCalculation
         --suppress=missingInclude:src/programs/mdrun/gmx_gpu_utils/gmx_gpu_utils.cu
-       --suppress=*:src/external/Random123-1.08/include/Random123/features/compilerfeatures.h
+        --suppress=*:src/external/Random123-1.08/include/Random123/features/compilerfeatures.h
         --inline-suppr)
     set(_cxx_flags
         -D__cplusplus