On Wednesday 14 March 2012 04:25:59 David C. Rankin wrote:
Tim, Serghei,
When building TDE packages, if the cmake files do not properly find
includes, what is the proper way to tell cmake where the include is?
Detection of modules should never fail. If it fail, should be fixed.
The cmake site says to use the CMAKE_INCLUDE_PATH
environment variable. So I
try:
export CMAKE_INCLUDE_PATH=/usr/include/apr-1
The purpose of CMAKE_INCLUDE_PATH is not to pass to compiler something.
http://www.cmake.org/cmake/help/cmake-2-8-docs.html#variable:CMAKE_INCLUDE_…
[...]
My apr_general.h is in /usr/include/apr-1 not in
"-I/usr/include/apr-1.0"
that the cmake files include.
Most likely is not TDE cmake system and alter somehow include path.
--
Serghei