Using assimp instead for model importing.
This commit is contained in:
parent
16d2bd6466
commit
e2d9fe9189
@ -31,13 +31,14 @@ message(STATUS "Build Type: ${CMAKE_BUILD_TYPE}")
|
||||
# prefer newer versions of OpenGL
|
||||
set(OpenGL_GL_PREFERENCE "GLVND")
|
||||
find_package(OpenGL REQUIRED)
|
||||
find_package(GLUT REQUIRED)
|
||||
find_package(GLEW REQUIRED)
|
||||
find_package(GLUT REQUIRED)
|
||||
find_package(PkgConfig REQUIRED)
|
||||
pkg_search_module(ASSIMP REQUIRED assimp)
|
||||
pkg_search_module(SDL2 REQUIRED sdl2)
|
||||
|
||||
include_directories(
|
||||
SYSTEM "include/"
|
||||
SYSTEM ${ASSIMP_INCLUDE_DIRS}
|
||||
SYSTEM ${SDL2_INCLUDE_DIRS})
|
||||
|
||||
set(SRCS
|
||||
@ -66,6 +67,7 @@ add_executable(${TARGET_NAME}
|
||||
target_link_libraries(${TARGET_NAME}
|
||||
OpenGL::OpenGL
|
||||
OpenGL::GLU
|
||||
${GLUT_LIBRARIES}
|
||||
${ASSIMP_LIBRARIES}
|
||||
${GLEW_LIBRARIES}
|
||||
${GLUT_LIBRARIES}
|
||||
${SDL2_LIBRARIES})
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user