The path to the interpreter for the bang line is not hardcoded anymore.
[urggr.git] / src / CMakeLists.txt
blob4d3fa4d201cca7f8fe69d2c4b446fa078a635a52
2 #   Urggr - An horizontal scrolling shoot'em up.
3 #   Copyright 2008 Antoine Chavasse <a.chavasse@gmail.com>
4
5 #   This file is part of Urggr.
7 #   Urggr is free software; you can redistribute it and/or modify
8 #   it under the terms of the GNU General Public License version 3
9 #   as published by the Free Software Foundation.
11 #   Urggr is distributed in the hope that it will be useful,
12 #   but WITHOUT ANY WARRANTY; without even the implied warranty of
13 #   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 #   GNU General Public License for more details.
16 #   You should have received a copy of the GNU General Public License
17 #   along with this program.  If not, see <http://www.gnu.org/licenses/>.
19 find_program( LUA_INTERPRETER fail-lua )
21 configure_file(
22         urggr.lua
23         ${CMAKE_CURRENT_BINARY_DIR}/urggr.lua
26 subdirs( urggr_package )
28 install( PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/urggr.lua DESTINATION bin RENAME urggr )