X-Git-Url: http://git.lukelau.me/?p=opengl.git;a=blobdiff_plain;f=CMakeLists.txt;h=2e6b60c989bbf9efc503d5e52d9e1964800b7e45;hp=d228fa0e5a534376fda5e5937254ffd4209e733f;hb=c5d984e4904ae7b286bf095a1c640cc25cebe9be;hpb=616b478aff3a11f38ab379008c43a179718333f8 diff --git a/CMakeLists.txt b/CMakeLists.txt index d228fa0..2e6b60c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,26 +1,26 @@ cmake_minimum_required(VERSION 2.6) -project(assignment-1) +project(opengl) set(CMAKE_BINARY_DIR "bin") set(EXECUTABLE_OUTPUT_PATH ${CMAKE_BINARY_DIR}) -add_executable(assignment-1 assignment1.cpp) +add_executable(main main.cpp) find_package(OpenGL REQUIRED) include_directories(${OPENGL_INCLUDE_DIRS}) -target_link_libraries(assignment-1 ${OPENGL_LIBRARIES}) +target_link_libraries(main ${OPENGL_LIBRARIES}) find_package(GLUT REQUIRED) if(NOT GLUT_FOUND) message(ERROR "GLUT not found") endif(NOT GLUT_FOUND) include_directories(${GLUT_INCLUDE_DIR}) -target_link_libraries(assignment-1 ${GLUT_LIBRARIES}) +target_link_libraries(main ${GLUT_LIBRARIES}) find_package(GLEW REQUIRED) if(NOT GLEW_FOUND) message(ERROR "GLEW not found") endif(NOT GLEW_FOUND) include_directories(${GLEW_INCLUDE_DIR}) -target_link_libraries(assignment-1 ${GLEW_LIBRARIES}) +target_link_libraries(main ${GLEW_LIBRARIES}) find_package(GLM REQUIRED) if(NOT GLM_FOUND)