From 63a047119fb9bced398ebc7db240bfced60bb0be Mon Sep 17 00:00:00 2001 From: Maksym Sditanov Date: Mon, 7 Oct 2019 22:07:51 +0300 Subject: [PATCH] Findassimp.cmake: add hint for include path's for Linux 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 --- cmake-modules/Findassimp.cmake | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/cmake-modules/Findassimp.cmake b/cmake-modules/Findassimp.cmake index 23b975e688..6636455745 100644 --- a/cmake-modules/Findassimp.cmake +++ b/cmake-modules/Findassimp.cmake @@ -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(