]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Add an extra hint for assimp. 5199/head
authorDavid Wells <wellsd2@rpi.edu>
Thu, 5 Oct 2017 19:54:30 +0000 (15:54 -0400)
committerDavid Wells <wellsd2@rpi.edu>
Fri, 6 Oct 2017 04:09:12 +0000 (00:09 -0400)
If assimp has its own directory, e.g., ASSIMP_DIR=/opt/assimp/, then
this hint is needed.

cmake/modules/FindASSIMP.cmake

index 4edc211422665e35b44d9e2826b299d6fa0e07bd..8bc4ba0a6f49c1ba6639e4f7f195a31e19f5d7fc 100644 (file)
@@ -32,6 +32,7 @@ DEAL_II_FIND_LIBRARY(ASSIMP_LIB NAMES assimp
 
 DEAL_II_FIND_PATH(ASSIMP_INC assimp/defs.h
   HINTS ${ASSIMP_DIR}
+  PATH_SUFFIXES include
   )
 
 DEAL_II_PACKAGE_HANDLE(ASSIMP

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.