Remove unnecessary cppcheck include-path
[alexxy/gromacs.git] / tests / CppCheck.cmake
index 47696f37811f53845e25df7d7e067b8d4d2455de..2b3e93386c63a4751ce8cbd4034f7923583e5c75 100644 (file)
@@ -71,10 +71,10 @@ if (CPPCHECK_EXECUTABLE AND UNIX)
     endif()
     set(_common_flags
         --enable=style -DLINUX -DHAVE_UNISTD_H
-        -I src/gromacs/legacyheaders -I src
+        -I src
         -I src/external/thread_mpi/include
         -I src/external/tng_io/include
-        -I ${CMAKE_BINARY_DIR}/src -I ${CMAKE_BINARY_DIR}/src/gromacs/utility
+        -I ${CMAKE_BINARY_DIR}/src
         --quiet
         --inline-suppr
         ${_outputopt})