Skip to content

Commit

Permalink
Merge pull request assimp#2699 from feniksa/master
Browse files Browse the repository at this point in the history
Findassimp.cmake: add hint for lib search path for Linux
  • Loading branch information
kimkulling authored Oct 9, 2019
2 parents 927276f + 2102f7e commit 3a66487
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions cmake-modules/Findassimp.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -54,14 +54,18 @@ else(WIN32)

find_path(
assimp_INCLUDE_DIRS
NAMES postprocess.h scene.h version.h config.h cimport.h
PATHS /usr/local/include/
NAMES assimp/postprocess.h assimp/scene.h assimp/version.h assimp/config.h assimp/cimport.h
PATHS /usr/local/include
PATHS /usr/include/

)

find_library(
assimp_LIBRARIES
NAMES assimp
PATHS /usr/local/lib/
PATHS /usr/lib64/
PATHS /usr/lib/
)

if (assimp_INCLUDE_DIRS AND assimp_LIBRARIES)
Expand All @@ -78,4 +82,4 @@ else(WIN32)
endif (assimp_FIND_REQUIRED)
endif (assimp_FOUND)

endif(WIN32)
endif(WIN32)

0 comments on commit 3a66487

Please sign in to comment.