Hi,
I'd like to find out whether the file /usr/include/vtk-5.8/vtkMPI.h is
present on the system. I found CHECK_INCLUDE_FILES, and tried to use
it like
================ *snip* ================
cmake_minimum_required(VERSION 2.8)
INCLUDE(CheckIncludeFiles)
SET(CMAKE_REQUIRED_INCLUDES /usr/include/vtk-5.8)
CHECK_INCLUDE_FILES(vtkMPI.h TEST)
MESSAGE("<<${TEST}>>")
================ *snap* ================
However, this doesn't seem to work return TRUE even if the file is present.
Any idea what I'm doing wrong?
--Nico
--
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake