You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

14 lines
581 B

  1. set( PACKAGE_VERSION "@ASSIMP_VERSION@" )
  2. if( "${PACKAGE_FIND_VERSION}" VERSION_EQUAL "@ASSIMP_VERSION@")
  3. set(PACKAGE_VERSION_EXACT 1)
  4. endif()
  5. if( "${PACKAGE_FIND_VERSION_MAJOR}.${PACKAGE_FIND_VERSION_MINOR}" EQUAL "@ASSIMP_SOVERSION@" )
  6. set(PACKAGE_VERSION_COMPATIBLE 1)
  7. elseif( "${PACKAGE_FIND_VERSION_MAJOR}" EQUAL "@ASSIMP_VERSION_MAJOR@" )
  8. # for now backward compatible if minor version is less
  9. if( ${PACKAGE_FIND_VERSION_MINOR} LESS @ASSIMP_VERSION_MINOR@ )
  10. set(PACKAGE_VERSION_COMPATIBLE 1)
  11. endif()
  12. endif()
  13. set( ASSIMP_STATIC_LIB "@ASSIMP_BUILD_STATIC_LIB@")