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.
 
 
 
 
 
 

26 lines
651 B

  1. FIND_PATH(
  2. assimp_INCLUDE_DIRS
  3. NAMES postprocess.h scene.h version.h config.h cimport.h
  4. PATHS /usr/local/include/
  5. )
  6. FIND_LIBRARY(
  7. assimp_LIBRARIES
  8. NAMES assimp
  9. PATHS /usr/local/lib/
  10. )
  11. IF (assimp_INCLUDE_DIRS AND assimp_LIBRARIES)
  12. SET(assimp_FOUND TRUE)
  13. ENDIF (assimp_INCLUDE_DIRS AND assimp_LIBRARIES)
  14. IF (assimp_FOUND)
  15. IF (NOT assimp_FIND_QUIETLY)
  16. MESSAGE(STATUS "Found asset importer library: ${assimp_LIBRARIES}")
  17. ENDIF (NOT assimp_FIND_QUIETLY)
  18. ELSE (assimp_FOUND)
  19. IF (assimp_FIND_REQUIRED)
  20. MESSAGE(FATAL_ERROR "Could not find asset importer library")
  21. ENDIF (assimp_FIND_REQUIRED)
  22. ENDIF (assimp_FOUND)