modified CMakeLists and fixed includes

This commit is contained in:
zmertens
2015-03-31 00:02:08 -07:00
parent 18cc43ad85
commit 4a96cd428c
3 changed files with 5 additions and 5 deletions

View File

@@ -16,7 +16,7 @@ list(APPEND CMAKE_CXX_FLAGS "-std=c++11")
if(WIN32) if(WIN32)
set(LIBS glfw3 opengl32 glew32s SOIL assimp) set(LIBS glfw3 opengl32 glew32s SOIL assimp)
elseif (UNIX) elseif (UNIX)
set(LIBS gl X11 rt dl) set(LIBS GL X11 glfw GLEW SOIL assimp rt dl)
else() else()
set(LIBS ) set(LIBS )
endif() endif()

View File

@@ -4,7 +4,7 @@
#include <vector> #include <vector>
// GL Includes // GL Includes
#include <GL\glew.h> #include <GL/glew.h>
#include <glm/glm.hpp> #include <glm/glm.hpp>
#include <glm/gtc/matrix_transform.hpp> #include <glm/gtc/matrix_transform.hpp>

View File

@@ -16,7 +16,7 @@ using namespace std;
#include <assimp/scene.h> #include <assimp/scene.h>
#include <assimp/postprocess.h> #include <assimp/postprocess.h>
#include "Mesh.h" #include <learnopengl/mesh.h>
GLint TextureFromFile(const char* path, string directory); GLint TextureFromFile(const char* path, string directory);