CMakeLists.txt (45aeb03eab692b0a84b1ff61bdefb39a94be5d83) CMakeLists.txt (39524c59a59cf0bdb8a3bbfeb9fe5ea33f48e5d0)
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)

--- 5 unchanged lines hidden (view full) ---

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
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)

--- 5 unchanged lines hidden (view full) ---

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
22include(GNUInstallDirs)
23
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)
24# Based heavily upon the hackrf cmake setup.
25
26project(libbtbb C)
27set(PACKAGE libbtbb)
28
29add_subdirectory(src)
30
31CONFIGURE_FILE(
32 ${CMAKE_CURRENT_SOURCE_DIR}/libbtbb.pc.in
33 ${CMAKE_CURRENT_BINARY_DIR}/libbtbb.pc
34@ONLY)
35
36INSTALL(
37 FILES ${CMAKE_CURRENT_BINARY_DIR}/libbtbb.pc
38 DESTINATION lib${LIB_SUFFIX}/pkgconfig
39)