Merge pull request #2699 from feniksa/master
Findassimp.cmake: add hint for lib search path for Linuxpull/2677/head^2
commit
3a6648734c
|
@ -54,14 +54,18 @@ else(WIN32)
|
||||||
|
|
||||||
find_path(
|
find_path(
|
||||||
assimp_INCLUDE_DIRS
|
assimp_INCLUDE_DIRS
|
||||||
NAMES postprocess.h scene.h version.h config.h cimport.h
|
NAMES assimp/postprocess.h assimp/scene.h assimp/version.h assimp/config.h assimp/cimport.h
|
||||||
PATHS /usr/local/include/
|
PATHS /usr/local/include
|
||||||
|
PATHS /usr/include/
|
||||||
|
|
||||||
)
|
)
|
||||||
|
|
||||||
find_library(
|
find_library(
|
||||||
assimp_LIBRARIES
|
assimp_LIBRARIES
|
||||||
NAMES assimp
|
NAMES assimp
|
||||||
PATHS /usr/local/lib/
|
PATHS /usr/local/lib/
|
||||||
|
PATHS /usr/lib64/
|
||||||
|
PATHS /usr/lib/
|
||||||
)
|
)
|
||||||
|
|
||||||
if (assimp_INCLUDE_DIRS AND assimp_LIBRARIES)
|
if (assimp_INCLUDE_DIRS AND assimp_LIBRARIES)
|
||||||
|
@ -78,4 +82,4 @@ else(WIN32)
|
||||||
endif (assimp_FIND_REQUIRED)
|
endif (assimp_FIND_REQUIRED)
|
||||||
endif (assimp_FOUND)
|
endif (assimp_FOUND)
|
||||||
|
|
||||||
endif(WIN32)
|
endif(WIN32)
|
||||||
|
|
Loading…
Reference in New Issue