Skip to content

Commit

Permalink
Findassimp.cmake: add hint for include path's for Linux
Browse files Browse the repository at this point in the history
By default, Linux distro installs assimp into /usr/include/assimp

In case of this commit, fix hint path to include default path

Signed-off-by: Maksym Sditanov <msditanov@200volts.com>
  • Loading branch information
feniksa committed Oct 7, 2019
1 parent b8006cb commit 63a0471
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions cmake-modules/Findassimp.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,10 @@ 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(
Expand Down

0 comments on commit 63a0471

Please sign in to comment.