1# 2# Copyright 2013 Dominic Spill 3# 4# This file is part of Libbtbb. 5# 6# This program is free software; you can redistribute it and/or modify 7# it under the terms of the GNU General Public License as published by 8# the Free Software Foundation; either version 2, or (at your option) 9# any later version. 10# 11# This program 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. 15# 16# You should have received a copy of the GNU General Public License 17# along with this program; see the file COPYING. If not, write to 18# the Free Software Foundation, Inc., 51 Franklin Street, 19# Boston, MA 02110-1301, USA. 20# 21 22# Based heavily upon the hackrf cmake setup. 23 24project(libbtbb C) 25set(PACKAGE libbtbb) 26 27add_subdirectory(src) 28 29CONFIGURE_FILE( 30 ${CMAKE_CURRENT_SOURCE_DIR}/libbtbb.pc.in 31 ${CMAKE_CURRENT_BINARY_DIR}/libbtbb.pc 32@ONLY) 33 34INSTALL( 35 FILES ${CMAKE_CURRENT_BINARY_DIR}/libbtbb.pc 36 DESTINATION lib${LIB_SUFFIX}/pkgconfig 37) 38