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

set(CMAKE_MODULE_PATH ${ZOOM_SOURCE_DIR})

find_package(Boost REQUIRED)
find_package(OpenGL)
IF (NOT OPENGL_FOUND)
  MESSAGE(FATAL_ERROR "Could not find OpenGL")
ENDIF (NOT OPENGL_FOUND)

find_package(GLEW REQUIRED)
find_package(GLPng REQUIRED)
find_package(LibXml2 REQUIRED)

include_directories(${Boost_INCLUDE_DIR} ${OPENGL_INCLUDE_DIR} ${GLEW_INCLUDE_DIR} ${GLPNG_INCLUDE_DIR} ${LIBXML2_INCLUDE_DIR})

add_subdirectory(src)