Menu

#74 FIND_PACKAGE is not supported

open
None
9
2012-05-01
2012-05-01
Kim Kulling
No

Discussion

  • Kim Kulling

    Kim Kulling - 2012-05-01
    • priority: 5 --> 9
     
  • Anonymous

    Anonymous - 2012-05-02

    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.