Build Assimp from source
This commit is contained in:
@@ -8,9 +8,6 @@ find_package(glfw3 3.3 REQUIRED)
|
||||
## Find Bullet
|
||||
find_package(Bullet REQUIRED)
|
||||
|
||||
## Find AssImp
|
||||
find_package(ASSIMP REQUIRED)
|
||||
|
||||
if (LUA_ENABLED)
|
||||
## Find Lua
|
||||
find_package(Lua REQUIRED)
|
||||
@@ -88,10 +85,6 @@ target_include_directories(couchlib
|
||||
PUBLIC
|
||||
${BULLET_INCLUDE_DIRS})
|
||||
|
||||
target_include_directories(couchlib
|
||||
PUBLIC
|
||||
${ASSIMP_INCLUDE_DIR})
|
||||
|
||||
target_link_libraries(couchlib glfw)
|
||||
target_link_libraries(couchlib OpenGL::GL)
|
||||
target_link_libraries(couchlib GLEW::GLEW)
|
||||
@@ -99,7 +92,6 @@ if (LUA_ENABLED)
|
||||
target_link_libraries(couchlib_luascripting ${LUA_LIBRARIES})
|
||||
endif ()
|
||||
target_link_libraries(couchlib ${BULLET_LIBRARIES})
|
||||
target_link_libraries(couchlib ${ASSIMP_LIBRARY})
|
||||
|
||||
## Add documentation
|
||||
find_package(Doxygen REQUIRED
|
||||
|
||||
Reference in New Issue
Block a user