Adjust include directory order for some corner cases
[alexxy/gromacs.git] / src / gromacs / CMakeLists.txt
index 2045cebcc6f06c8be921c8d9589e6701d6e6f004..25da7de0e4f27c8e133c5e047ebe2ed595db41f1 100644 (file)
@@ -75,7 +75,7 @@ if(GMX_USE_TNG)
     endif()
 else()
     # We still need to get tng/tng_io_fwd.h from somewhere!
-    include_directories(${CMAKE_SOURCE_DIR}/src/external/tng_io/include)
+    include_directories(BEFORE ${CMAKE_SOURCE_DIR}/src/external/tng_io/include)
 endif()
 
 add_subdirectory(gmxlib)