Skip to content

Commit

Permalink
CMake|Fixed: Allow using the debug version of libassimp
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed May 20, 2015
1 parent 225fcf0 commit a81790d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions doomsday/cmake/FindAssimp.cmake
Expand Up @@ -16,7 +16,7 @@ if (NOT TARGET assimp)
)
else ()
# Try to find assimp manually.
find_library (LIBASSIMP assimp
find_library (LIBASSIMP NAMES assimp assimpd
PATHS
${DENG_EXTERNAL_SOURCE_DIR}/assimp
${ASSIMP_DIR}
Expand Down Expand Up @@ -59,7 +59,8 @@ if (NOT TARGET assimp)
deng_install_library (${LIBASSIMP})
else ()
# Locate the DLL.
find_file (LIBASSIMP_DLL assimp.dll PATHS ${_assimpBase}/..
find_file (LIBASSIMP_DLL NAMES assimp.dll assimpd.dll
PATHS ${_assimpBase}/..
PATH_SUFFIXES ../bin/Release ../bin/Debug
)
mark_as_advanced (LIBASSIMP_DLL)
Expand Down

0 comments on commit a81790d

Please sign in to comment.