Dear all,

I have a problem with CheckIncludeFiles that I cannot figure out. I'm sure I'm 
just making a stupid mistake though, but I am unable to figure out what. The 
following code is in CMakeLists.txt:

include(CheckIncludeFiles)

check_include_files("readline/history.h" HAVE_READLINE_HISTORY_H)
check_include_files("sys/select.h" HAVE_SYS_SELECT_H)


And both headers are installed on my system:
$ ls -lh /usr/include/sys/select.h /usr/include/readline/history.h
-rw-r--r-- 1 root root 9,9K 21.07.2011 04:40 /usr/include/readline/history.h
-rw-r--r-- 1 root root 4,1K 26.10.2011 20:03 /usr/include/sys/select.h

CMake only finds sys/select.h though, and I don't see the difference. What 
might 
I be missing? I use cmake version 2.8.7.

Thanks!

Cheers,
Yngve
--

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

Reply via email to