Verified Commit 574b92e9 authored by Justin Carpentier's avatar Justin Carpentier
Browse files

cmake: fix assimp lib

Assimp seems to not be well packaged :(
parent 908ccfbe
...@@ -156,12 +156,14 @@ add_library(${LIBRARY_NAME} ...@@ -156,12 +156,14 @@ add_library(${LIBRARY_NAME}
ADD_SOURCE_GROUP(${LIBRARY_NAME}_SOURCES) ADD_SOURCE_GROUP(${LIBRARY_NAME}_SOURCES)
ADD_HEADER_GROUP(PROJECT_HEADERS_FULL_PATH) ADD_HEADER_GROUP(PROJECT_HEADERS_FULL_PATH)
FIND_LIBRARY(ASSIMP_FULL_LIB NAMES assimp PATHS ${ASSIMP_LIBRARY_DIRS} NO_DEFAULT_PATH)
TARGET_LINK_LIBRARIES(${LIBRARY_NAME} TARGET_LINK_LIBRARIES(${LIBRARY_NAME}
PUBLIC PUBLIC
${Boost_THREAD_LIBRARY} ${Boost_THREAD_LIBRARY}
${Boost_DATE_TIME_LIBRARY} ${Boost_DATE_TIME_LIBRARY}
${Boost_SYSTEM_LIBRARY} ${Boost_SYSTEM_LIBRARY}
${ASSIMP_LIBRARY_DIRS}/${ASSIMP_LIBRARIES} ${ASSIMP_FULL_LIB}
# assimp::assimp # Not working # assimp::assimp # Not working
# Boost::thread # Boost::thread
# Boost::date_time # Boost::date_time
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment