Improve CMake structure.

This commit is contained in:
2018-03-18 21:21:00 +01:00
parent 512c4e8c95
commit c0cf5e6ff0
4 changed files with 20 additions and 47 deletions

View File

@@ -1,7 +1,6 @@
#include <algorithm>
#include <iostream>
#include <glog/logging.h>
#include <GL/glew.h>
#include <GL/glut.h>
#include <map>
@@ -192,12 +191,6 @@ int main(int argc, char *argv[])
Camera::instance().registerControls();
glewInit();
if (!GLEW_VERSION_2_0) {
cerr << "OpenGL 2.0 not available" << endl;
return 2;
}
rendererData.currentData = rendererData.data.begin();
updateVisualisers();