Commit b47c50ab authored by Johnny Jazeix's avatar Johnny Jazeix

Compilation with cmake needs link to glu

parent 21303642
......@@ -13,6 +13,8 @@ SET(QT_USE_QTUITOOLS ON)
SET(QT_USE_QTOPENGL ON)
INCLUDE(${QT_USE_FILE})
FIND_PACKAGE(GLU)
OPTION(VITE_ENABLE_VBO "Enable the support of VBO." OFF)
IF(VITE_ENABLE_VBO)
INCLUDE(cmake/FindGLEW.cmake)
......@@ -28,4 +30,4 @@ IF(VITE_ENABLE_TAU)
INCLUDE(cmake/FindTAU.cmake)
ENDIF(VITE_ENABLE_TAU)
SUBDIRS(src)
\ No newline at end of file
SUBDIRS(src)
......@@ -322,7 +322,7 @@ INCLUDE_DIRECTORIES(
ADD_EXECUTABLE(vite ${VITE_SRCS} ${VITE_MOC} ${VITE_RCC_SRCS})
TARGET_LINK_LIBRARIES(vite
${QT_LIBRARIES}
# ${GLUT_LIBRARIES}
${GLU_LIBRARY}
)
IF(VITE_ENABLE_VBO)
......
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