openlase/CMakeLists.txt

40 lines
1.2 KiB
CMake

# OpenLase - a realtime laser graphics toolkit
#
# Copyright (C) 2009-2011 Hector Martin "marcan" <hector@marcansoft.com>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 2 or version 3.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#
project(openlase)
cmake_minimum_required(VERSION 2.6)
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/Modules/")
find_package(Threads REQUIRED)
find_package(JACK REQUIRED)
find_package(Qt4)
find_package(FFmpeg)
find_package(OpenGL)
find_package(GLUT)
find_package(ALSA)
find_package(Curses)
set(CMAKE_C_FLAGS "-Wall -O3 -g")
add_subdirectory (libol)
add_subdirectory (output)
add_subdirectory (tools)
add_subdirectory (examples)