Fix no newlines warnings. Patch by Peter Oberndorfer
[kdevelopdvcssupport.git] / KDevPlatformConfigVersion.cmake.in
bloba0d6019a3feaf28645a0c6210c62e9670afc80d2
1 ###########################################################
3 # KDevPlatform Version Check 
5 # Copyright 2008 Andreas Pakulat <apaku@gmx.de>
6 # This File is licensed under the BSD License.
8 ###########################################################
10 set( PACKAGE_VERSION "@KDevPlatform_VERSION_MAJOR@.@KDevPlatform_VERSION_MINOR@.@KDevPlatform_VERSION_PATCH@" )
11 if( PACKAGE_FIND_VERSION_MAJOR EQUAL @KDevPlatform_VERSION_MAJOR@ AND PACKAGE_FIND_VERSION_MINOR EQUAL @KDevPlatform_VERSION_MINOR@ AND PACKAGE_FIND_VERSION_PATCH EQUAL @KDevPlatform_VERSION_PATCH@ )
13     set( PACKAGE_VERSION_COMPATIBLE true )
14     set( PACKAGE_VERSION_EXACT true )
16 else( PACKAGE_FIND_VERSION_MAJOR EQUAL @KDevPlatform_VERSION_MAJOR@ AND PACKAGE_FIND_VERSION_MINOR EQUAL @KDevPlatform_VERSION_MINOR@ AND PACKAGE_FIND_VERSION_PATCH EQUAL @KDevPlatform_VERSION_PATCH@ )
18     set( PACKAGE_VERSION_EXACT false )
20     if( @KDevPlatform_VERSION_MAJOR@ LESS PACKAGE_FIND_VERSION_MAJOR )
22         set( PACKAGE_VERSION_COMPATIBLE false )
24     else( @KDevPlatform_VERSION_MAJOR@ LESS PACKAGE_FIND_VERSION_MAJOR )
25         if( @KDevPlatform_VERSION_MINOR@ LESS PACKAGE_FIND_VERSION_MINOR )
27             set( PACKAGE_VERSION_COMPATIBLE false )
29         else( @KDevPlatform_VERSION_MINOR@ LESS PACKAGE_FIND_VERSION_MINOR )
30             if( @KDevPlatform_VERSION_PATCH@ LESS PACKAGE_FIND_VERSION_PATCH )
32                 set( PACKAGE_VERSION_COMPATIBLE false )
34             else( @KDevPlatform_VERSION_PATCH@ LESS PACKAGE_FIND_VERSION_PATCH )
36                 set( PACKAGE_VERSION_COMPATIBLE true )
38             endif( @KDevPlatform_VERSION_PATCH@ LESS PACKAGE_FIND_VERSION_PATCH )
39         endif( @KDevPlatform_VERSION_MINOR@ LESS PACKAGE_FIND_VERSION_MINOR )
40     endif( @KDevPlatform_VERSION_MAJOR@ LESS PACKAGE_FIND_VERSION_MAJOR )
42 endif( PACKAGE_FIND_VERSION_MAJOR EQUAL @KDevPlatform_VERSION_MAJOR@ AND PACKAGE_FIND_VERSION_MINOR EQUAL @KDevPlatform_VERSION_MINOR@ AND PACKAGE_FIND_VERSION_PATCH EQUAL @KDevPlatform_VERSION_PATCH@ )