Adjust include directory order for some corner cases
authorTeemu Murtola <teemu.murtola@gmail.com>
Tue, 1 Jul 2014 04:17:21 +0000 (07:17 +0300)
committerMagnus Lundborg <magnus.lundborg@scilifelab.se>
Tue, 1 Jul 2014 07:20:30 +0000 (09:20 +0200)
commitd2221de65b811926eb3fe7d6c26b5c0f714b0560
tree18d0913305245b49c46b1dbae6e0ff55fe71670f
parentcfdbe46bb9e5217684e9acfb1fdc46353957e2fb
Adjust include directory order for some corner cases

Always add headers found from the source/build tree to the beginning of
the list of include paths, such that they are preferred over those
potentially found in other non-system directories.

Fixes #1539

Change-Id: Id79634073fea5b10f250128db8ab08019a7f9e21
CMakeLists.txt
cmake/gmxManageFFTLibraries.cmake
src/external/gmock-1.7.0/CMakeLists.txt
src/external/tng_io/BuildTNG.cmake
src/gromacs/CMakeLists.txt
src/gromacs/gmxlib/CMakeLists.txt
src/testutils/CMakeLists.txt
src/testutils/TestMacros.cmake