blob: 6a91fc808e645195b1a8f3aa199288f55f27c4aa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
cmake_minimum_required(VERSION 2.6)
project(ZOOMEDIT)
set(CMAKE_MODULE_PATH ${ZOOMEDIT_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(PkgConfig)
pkg_check_modules(XMLPP REQUIRED libxml++-2.6>=2.24)
pkg_check_modules(GTKMM REQUIRED glibmm-2.4>=2.16 gtkmm-2.4>=2.18)
pkg_check_modules(GTKGLEXT REQUIRED gtkglext-1.0)
#include_directories(${Boost_INCLUDE_DIR} ${OPENGL_INCLUDE_DIR} ${GLEW_INCLUDE_DIR} ${GLPNG_INCLUDE_DIR} ${XMLPP_INCLUDE_DIRS} ${GTKMM_INCLUDE_DIRS} ${GTKGLEXT_INCLUDE_DIRS})
include_directories(${ZOOMEDIT_SOURCE_DIR}/src ${OPENGL_INCLUDE_DIR} ${XMLPP_INCLUDE_DIRS} ${GTKMM_INCLUDE_DIRS} ${GTKGLEXT_INCLUDE_DIRS})
add_subdirectory(src)
|