|
|
|
@ -42,9 +42,10 @@ if( SVN_INCLUDE_DIR )
|
|
|
|
|
check_include_file( "svn_types.h" HAVE_SVN_TYPES_H )
|
|
|
|
|
tde_restore( CMAKE_REQUIRED_INCLUDES )
|
|
|
|
|
else( )
|
|
|
|
|
# FIXME must be improved
|
|
|
|
|
check_include_file( "/usr/include/subversion-1/svn_types.h" HAVE_SVN_TYPES_H )
|
|
|
|
|
set( SVN_INCLUDE_DIR "/usr/include/subversion-1" )
|
|
|
|
|
find_file( HAVE_SVN_TYPES_H "subversion-1/svn_types.h" )
|
|
|
|
|
if( HAVE_SVN_TYPES_H )
|
|
|
|
|
get_filename_component( SVN_INCLUDE_DIR ${HAVE_SVN_TYPES_H} PATH CACHE )
|
|
|
|
|
endif( )
|
|
|
|
|
endif( )
|
|
|
|
|
|
|
|
|
|
tde_restore( CMAKE_REQUIRED_FLAGS CMAKE_REQUIRED_DEFINITIONS )
|
|
|
|
|