Ver código fonte

Fix stupid mistake in path to GLFW includes.

Former-commit-id: f6db7488ba52efd4e71de09babd9798f6393ed4f
Jérémie Dumas 7 anos atrás
pai
commit
e72d9f746e
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      shared/cmake/libigl.cmake

+ 1 - 1
shared/cmake/libigl.cmake

@@ -367,8 +367,8 @@ if(LIBIGL_WITH_OPENGL)
       set(GLFW_BUILD_DOCS OFF CACHE BOOL " " FORCE)
       set(GLFW_BUILD_INSTALL OFF CACHE BOOL " " FORCE)
       add_subdirectory(${NANOGUI_DIR}/ext/glfw glfw)
+      target_include_directories(glfw ${IGL_SCOPE} ${NANOGUI_DIR}/ext/glfw/include)
     endif()
-    target_include_directories(glfw ${IGL_SCOPE} ${NANOGUI_DIR}/ext/glew/include)
     target_link_libraries(igl_opengl_glfw ${IGL_SCOPE} igl_opengl glfw)
 
     ### Compile the viewer