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})