Bugfix: Add a missing CMake-config file.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1257 67173fc5-114c-0410-ac8e-9d2fd5bffc1fpull/5/merge
parent
526150a8e3
commit
48e2132f38
|
@ -0,0 +1,12 @@
|
||||||
|
set( PACKAGE_VERSION "@ASSIMP_VERSION@" )
|
||||||
|
if( "${PACKAGE_FIND_VERSION}" VERSION_EQUAL "@ASSIMP_VERSION@")
|
||||||
|
set(PACKAGE_VERSION_EXACT 1)
|
||||||
|
endif()
|
||||||
|
if( "${PACKAGE_FIND_VERSION_MAJOR}.${PACKAGE_FIND_VERSION_MINOR}" EQUAL "@ASSIMP_SOVERSION@" )
|
||||||
|
set(PACKAGE_VERSION_COMPATIBLE 1)
|
||||||
|
elseif( "${PACKAGE_FIND_VERSION_MAJOR}" EQUAL "@ASSIMP_VERSION_MAJOR@" )
|
||||||
|
# for now backward compatible if minor version is less
|
||||||
|
if( ${PACKAGE_FIND_VERSION_MINOR} LESS @ASSIMP_VERSION_MINOR@ )
|
||||||
|
set(PACKAGE_VERSION_COMPATIBLE 1)
|
||||||
|
endif()
|
||||||
|
endif()
|
Loading…
Reference in New Issue