1e25b118aSDominic Spill# Copyright 2013 Dominic Spill 2e25b118aSDominic Spill# 3e25b118aSDominic Spill# This file is part of Libbtbb 4e25b118aSDominic Spill# 5e25b118aSDominic Spill# GNU Radio is free software; you can redistribute it and/or modify 6e25b118aSDominic Spill# it under the terms of the GNU General Public License as published by 7e25b118aSDominic Spill# the Free Software Foundation; either version 2, or (at your option) 8e25b118aSDominic Spill# any later version. 9e25b118aSDominic Spill# 10e25b118aSDominic Spill# GNU Radio is distributed in the hope that it will be useful, 11e25b118aSDominic Spill# but WITHOUT ANY WARRANTY; without even the implied warranty of 12e25b118aSDominic Spill# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13e25b118aSDominic Spill# GNU General Public License for more details. 14e25b118aSDominic Spill# 15e25b118aSDominic Spill# You should have received a copy of the GNU General Public License 16e25b118aSDominic Spill# along with GNU Radio; see the file COPYING. If not, write to 17e25b118aSDominic Spill# the Free Software Foundation, Inc., 51 Franklin Street, 18e25b118aSDominic Spill# Boston, MA 02110-1301, USA. 19e25b118aSDominic Spill 20e25b118aSDominic Spillproject(btbb-python) 21e25b118aSDominic Spill 22e25b118aSDominic Spill# Check for python installation 23*48fe012aSMike Ryanfind_package(Python3) 24*48fe012aSMike Ryanif(NOT Python3_FOUND) 25e25b118aSDominic Spill return() 26e25b118aSDominic Spillelse() 27e25b118aSDominic Spill add_subdirectory(pcaptools) 28e25b118aSDominic Spillendif() 29e25b118aSDominic Spill 30e25b118aSDominic Spill# Create uninstall target 31e25b118aSDominic Spillif(NOT libbtbb_all_SOURCE_DIR) 32e25b118aSDominic Spill configure_file( 33e25b118aSDominic Spill ${PROJECT_SOURCE_DIR}/../cmake/cmake_uninstall.cmake.in 34e25b118aSDominic Spill ${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake 35e25b118aSDominic Spill @ONLY) 36e25b118aSDominic Spill 37e25b118aSDominic Spill add_custom_target(uninstall 38e25b118aSDominic Spill ${CMAKE_COMMAND} -P ${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake 39e25b118aSDominic Spill ) 40e25b118aSDominic Spillendif() 41