trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: March 2012

Re: [trinity-devel] Why? TDE cmake does NOT respect 'export CMAKE_INCLUDE_PATH=X'

From: "David C. Rankin" <drankinatty@...>
Date: Wed, 14 Mar 2012 18:09:51 -0500
On 03/14/2012 05:48 PM, Serghei Amelian wrote:
> I think there is no check for apr. Insert somewhere in ConfigureChecks.cmake a 
> code like this:
> 
> pkg_search_module( APR apr-1 )
> if( NOT APR_FOUND )
>     tde_message_fatal( "apr-1 is required, but was not found on your system" )
> endif( )
> 

Serghei,

  I think I found the problem. Where is APR_INCLUDE_DIR set from
APR_INCLUDE_DIR_INT?? All I find is:

  EXEC_PROGRAM(${APR_CONFIG} ARGS "--includedir" OUTPUT_VARIABLE
APR_INCLUDE_DIR_INT)

  which works to set APR_INCLUDE_DIR_INT, but I can't find anywhere that there is a:

SET(APR_INCLUDE_DIR ${APR_INCLUDE_DIR_INT})

-- 
David C. Rankin, J.D.,P.E.