mirror of
https://github.com/JoeyDeVries/LearnOpenGL.git
synced 2026-01-30 20:13:22 +08:00
modified Find*.cmake files to look in the LearnOpenGL local includes and lib directories
This commit is contained in:
@@ -8,12 +8,14 @@ FIND_PATH( ASSIMP_INCLUDE_DIR assimp/mesh.h
|
||||
/usr/include
|
||||
/usr/local/include
|
||||
/opt/local/include
|
||||
${CMAKE_SOURCE_DIR}/includes
|
||||
)
|
||||
FIND_LIBRARY( ASSIMP_LIBRARY assimp
|
||||
/usr/lib64
|
||||
/usr/lib
|
||||
/usr/local/lib
|
||||
/opt/local/lib
|
||||
${CMAKE_SOURCE_DIR}/lib
|
||||
)
|
||||
IF(ASSIMP_INCLUDE_DIR AND ASSIMP_LIBRARY)
|
||||
SET( ASSIMP_FOUND TRUE )
|
||||
|
||||
Reference in New Issue
Block a user