Ensure our include directories get added in the correct order

If you have assimp installed already and in the include path (e.g. I have it via homebrew), it can pick up the wrong headers.

This forces the include order so our local ones are found first when building assimp.
pull/2354/head
Andy Maloney 2019-03-01 12:38:59 -05:00
parent a23aa70575
commit 99c3697d12
1 changed files with 1 additions and 1 deletions

View File

@ -198,7 +198,7 @@ CONFIGURE_FILE(
${CMAKE_CURRENT_BINARY_DIR}/include/assimp/config.h
)
INCLUDE_DIRECTORIES(
INCLUDE_DIRECTORIES( BEFORE
./
include
${CMAKE_CURRENT_BINARY_DIR}