Set ASSIMP_LIBRARIES to the proper library name

in assimp-config.cmake so that other programs can find it.
pull/436/head
Ricardo Ortiz 2015-01-20 13:23:15 -05:00
parent af48644e56
commit 27f3771582
1 changed files with 3 additions and 3 deletions

View File

@ -40,9 +40,9 @@ set( ASSIMP_LINK_FLAGS "" )
set( ASSIMP_LIBRARY_DIRS "${ASSIMP_ROOT_DIR}/@ASSIMP_LIB_INSTALL_DIR@") set( ASSIMP_LIBRARY_DIRS "${ASSIMP_ROOT_DIR}/@ASSIMP_LIB_INSTALL_DIR@")
set( ASSIMP_INCLUDE_DIRS "${ASSIMP_ROOT_DIR}/@ASSIMP_INCLUDE_INSTALL_DIR@") set( ASSIMP_INCLUDE_DIRS "${ASSIMP_ROOT_DIR}/@ASSIMP_INCLUDE_INSTALL_DIR@")
set( ASSIMP_LIBRARIES assimp${ASSIMP_LIBRARY_SUFFIX}) set( ASSIMP_LIBRARIES assimp${ASSIMP_LIBRARY_SUFFIX})
if (CMAKE_BUILD_TYPE EQUAL "DEBUG") if (${CMAKE_BUILD_TYPE} STREQUAL "Debug")
set( ASSIMP_LIBRARIES ${ASSIMP_LIBRARIES}D) set( ASSIMP_LIBRARIES ${ASSIMP_LIBRARIES}@ASSIMP_DEBUG_POSTFIX@)
endif (CMAKE_BUILD_TYPE EQUAL "DEBUG") endif ()
# search for the boost version assimp was compiled with # search for the boost version assimp was compiled with
#set(Boost_USE_MULTITHREAD ON) #set(Boost_USE_MULTITHREAD ON)