It would be better for assimp to generate an ASSIMPConfig.cmake file than an FindASSIMP.cmake file. The reason is that an ASSIMPConfig.cmake is installed together with the library and headers, and then find_package will pick it up automatically or find it based on ASSIMP_DIR. If you publish a FindASSIMP.cmake instead, every one of your clients has to include a copy in their source and stay up to date as you change it.
`cmake --help-command find_package` has more details.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
View and moderate all "bugs Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Bugs"
It would be better for assimp to generate an ASSIMPConfig.cmake file than an FindASSIMP.cmake file. The reason is that an ASSIMPConfig.cmake is installed together with the library and headers, and then find_package will pick it up automatically or find it based on ASSIMP_DIR. If you publish a FindASSIMP.cmake instead, every one of your clients has to include a copy in their source and stay up to date as you change it.
`cmake --help-command find_package` has more details.