1 IF(assimp_FIND_REQUIRED)
2 SET(ASSIMP_FIND_REQUIRED ON)
7 NAMES assimp/postprocess.h assimp/scene.h assimp/version.h assimp/config.h assimp/cimport.h
8 PATHS /usr/local/include/
12 ASSIMP_LIBRARY_RELEASE
18 IRRXML_LIBRARY_RELEASE
35 IF (ASSIMP_INCLUDE_DIRS)
36 SET(ASSIMP_FOUND TRUE)
37 IF(ASSIMP_LIBRARY_RELEASE)
38 SET(ASSIMP_LIBRARIES ${ASSIMP_LIBRARIES} optimized ${ASSIMP_LIBRARY_RELEASE})
40 IF(ASSIMP_LIBRARY_DEBUG)
41 SET(ASSIMP_LIBRARIES ${ASSIMP_LIBRARIES} debug ${ASSIMP_LIBRARY_DEBUG})
45 SET(ASSIMP_LIBRARIES ${ASSIMP_LIBRARIES} ${ZLIB_LIBRARIES})
47 IF(IRRXML_LIBRARY_RELEASE)
48 SET(ASSIMP_LIBRARIES ${ASSIMP_LIBRARIES} optimized ${IRRXML_LIBRARY_RELEASE})
50 IF(IRRXML_LIBRARY_DEBUG)
51 SET(ASSIMP_LIBRARIES ${ASSIMP_LIBRARIES} debug ${IRRXML_LIBRARY_DEBUG})
56 IF (NOT ASSIMP_FIND_QUIETLY)
57 MESSAGE(STATUS "Found asset importer library: ${ASSIMP_LIBRARIES}")
60 IF (ASSIMP_FIND_REQUIRED)
61 MESSAGE(FATAL_ERROR "Could not find asset importer library")