Use full path for legacyheaders
[alexxy/gromacs.git] / tests / CppCheck.cmake
index 47696f37811f53845e25df7d7e067b8d4d2455de..082df61c109b43a62f9f5bda9d0c1f0dc93af760 100644 (file)
@@ -71,7 +71,7 @@ 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