14 lines
644 B
CMake
14 lines
644 B
CMake
set( ASSIMP_PACKAGE_VERSION "@ASSIMP_VERSION@" )
|
|
if( "${ASSIMP_PACKAGE_FIND_VERSION}" VERSION_EQUAL "@ASSIMP_VERSION@")
|
|
set(ASSIMP_PACKAGE_VERSION_EXACT 1)
|
|
endif()
|
|
if( "${ASSIMP_PACKAGE_FIND_VERSION_MAJOR}.${ASSIMP_PACKAGE_FIND_VERSION_MINOR}" EQUAL "@ASSIMP_SOVERSION@" )
|
|
set(ASSIMP_PACKAGE_VERSION_COMPATIBLE 1)
|
|
elseif( "${ASSIMP_PACKAGE_FIND_VERSION_MAJOR}" EQUAL "@ASSIMP_VERSION_MAJOR@" )
|
|
# for now backward compatible if minor version is less
|
|
if( ${ASSIMP_PACKAGE_FIND_VERSION_MINOR} LESS @ASSIMP_VERSION_MINOR@ )
|
|
set(ASSIMP_PACKAGE_VERSION_COMPATIBLE 1)
|
|
endif()
|
|
endif()
|
|
set( ASSIMP_STATIC_LIB "@ASSIMP_BUILD_STATIC_LIB@")
|