On Wednesday 14 March 2012 20:01:56 David C. Rankin wrote: > On 03/14/2012 04:03 AM, Serghei Amelian wrote: > >> 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. > > No - it WAS TDE cmake. Somebody HARDCODED the apr include location in > tdesvn/src/CMakeLists.txt: > > ################################################# > # > # (C) 2011 Timothy Pearson > # kb9vqf (AT) pearsoncomputing.net > # > # Improvements and feedback are welcome > # > # This file is released under GPL >= 2 > # > ################################################# > > include_directories( > ${TQT_INCLUDE_DIRS} > ${TDE_INCLUDE_DIR} > ${CMAKE_BINARY_DIR} > ${CMAKE_BINARY_DIR}/src > ${CMAKE_SOURCE_DIR}/src > ${CMAKE_SOURCE_DIR}/src/settings > ${CMAKE_SOURCE_DIR}/src/svnqt > ${CMAKE_BINARY_DIR}/src/svnqt > ${CMAKE_SOURCE_DIR}/src/svnfrontend/graphtree > ${CMAKE_SOURCE_DIR}/src/svnfrontend/fronthelpers > ${CMAKE_SOURCE_DIR}/src/ksvnwidgets > ${CMAKE_SOURCE_DIR}/src/helpers > ${CMAKE_SOURCE_DIR}/src/svnfrontend > ${CMAKE_SOURCE_DIR}/src/svnqt/cache > ${SUBVERSION_INCLUDE_DIR} > /usr/include/apr-1.0 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Problem > ) Replace /usr/include/apr-1.0 with ${APR_INCLUDE_DIRS} -- Serghei