openlase/CMakeLists.txt

44 lines
1.3 KiB
CMake
Raw Normal View History

2010-11-24 01:10:10 +00:00
# OpenLase - a realtime laser graphics toolkit
#
2011-01-17 17:01:13 +00:00
# Copyright (C) 2009-2011 Hector Martin "marcan" <hector@marcansoft.com>
2010-11-24 01:10:10 +00:00
#
# 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)
2010-11-24 01:10:10 +00:00
cmake_minimum_required(VERSION 2.6)
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/Modules/")
find_package(Threads REQUIRED)
2010-11-24 01:10:10 +00:00
find_package(JACK REQUIRED)
find_package(Qt4)
find_package(FFmpeg)
find_package(OpenGL)
find_package(GLUT)
find_package(ALSA)
find_package(Curses)
2010-11-24 01:10:10 +00:00
2011-03-12 17:34:23 +00:00
if(CMAKE_C_FLAGS STREQUAL "")
set(CMAKE_C_FLAGS "-O3 -g")
endif()
add_definitions(-Wall)
2010-11-24 01:10:10 +00:00
add_subdirectory (libol)
add_subdirectory (output)
add_subdirectory (tools)
add_subdirectory (examples)