Add the INCLUDE_DIRECTORIES directive to all the FindXXX modules.
authorJunyan He <junyan.he@linux.intel.com>
Fri, 26 Apr 2013 23:56:55 +0000 (07:56 +0800)
committerZhigang Gong <zhigang.gong@linux.intel.com>
Sat, 27 Apr 2013 10:53:01 +0000 (18:53 +0800)
commit268e23d95e895713051a335a8a063950581f3b67
tree44c9d5f6deb6c7bbdf2f2e7050108b174e07ea5b
parent0c8f6feab9de4313b5466edcbbee5f4a63de0917
Add the INCLUDE_DIRECTORIES directive to all the FindXXX modules.

If the header files are not at the standard location, we will FAIL
to compile because FIND_PATH directive will not add the Include Dir
to CXX flags. Add the INCLUDE_DIRECTORIES to handle this if we find
the headers we neeeds.

Signed-off-by: Junyan He <junyan.he@linux.intel.com>
Reviewed-by: Zhigang Gong <zhigang.gong@linux.intel.com>
CMake/FindDRM.cmake
CMake/FindDRMIntel.cmake
CMake/FindEGL.cmake
CMake/FindGBE.cmake
CMake/FindGBM.cmake
CMake/FindOCLIcd.cmake
CMake/FindXext.cmake
CMake/FindXfixes.cmake