Sfoglia il codice sorgente

glfw missing libraries (how was this ever working?)

Former-commit-id: feb26b33ec91eafc223b6cebe1bb915c95379bc1
Alec Jacobson 8 anni fa
parent
commit
2a34aa72bc

+ 2 - 1
shared/cmake/CMakeLists.txt

@@ -401,7 +401,8 @@ if(LIBIGL_WITH_VIEWER)
     add_subdirectory("${NANOGUI_DIR}/ext/glfw" "glfw")
 
     set(VIEWER_INCLUDE_DIRS "${NANOGUI_DIR}/ext/glfw/include")
-    set(LIBIGL_VIEWER_EXTRA_LIBRARIES "glfw" ${OPENGL_gl_LIBRARY})
+    #set(LIBIGL_VIEWER_EXTRA_LIBRARIES "glfw" ${OPENGL_gl_LIBRARY})
+    set(LIBIGL_VIEWER_EXTRA_LIBRARIES "glfw" ${GLFW_LIBRARIES})
   endif()
 
   ### GLEW for linux and windows

+ 0 - 0
tutorial/611_SLIM/CMakeLists.txt → tutorial/710_SLIM/CMakeLists.txt


+ 0 - 0
tutorial/611_SLIM/main.cpp → tutorial/710_SLIM/main.cpp


+ 0 - 0
tutorial/images/611_SLIM.png.REMOVED.git-id → tutorial/images/slim.png.REMOVED.git-id