summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
blob: cdf1ff9e67e8b2878608e643d00dd514847da575 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
cmake_minimum_required(VERSION 2.6)
project(HEADSHOT)

find_package(OpenGL REQUIRED)

include_directories(${OPENGL_INCLUDE_DIR})

add_executable(headshot
  Cuboid.h Cuboid.cpp
  Engine.h Engine.cpp
  gl.h
  Keys.h
  main.cpp
  Triangle.h
)
target_link_libraries(headshot ${OPENGL_LIBRARIES} cwiid)