<div dir="ltr">All,<div><br></div><div>I am trying to use CheckIncludeFiles for header file check. I know the file I want to check is located at /usr/include/lustre, so I supplied the following:</div><div><br></div><div>
<p class="">include(CheckIncludeFiles)</p><p class="">check_include_files("lustre/lustre_user.h" HAVE_LUSTRE_USER_H)</p><p class="">And it report can't find. Then I tried to be explicit about it</p><p class="">
set(CMAKE_REQUIRED_INCLUDES /<span class="">usr</span>/include/<span class="">lustre</span>)<br></p><div><br></div><div>Still no avail. If I check any other header file in that directory, say "sys/io.h", it will work as expected. I am puzzled ... anything I missed?</div>
<div><br></div><div>Thanks</div><p class=""><br></p><div><br></div>-- <br>Oliver
</div></div>