1 # rtl_433 is free software; you can redistribute it and/or modify
2 # it under the terms of the GNU General Public License as published by
3 # the Free Software Foundation; either version 3, or (at your option)
6 # rtl_433 is distributed in the hope that it will be useful,
7 # but WITHOUT ANY WARRANTY; without even the implied warranty of
8 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9 # GNU General Public License for more details.
11 # You should have received a copy of the GNU General Public License
12 # along with GNU Radio; see the file COPYING. If not, write to
13 # the Free Software Foundation, Inc., 51 Franklin Street,
14 # Boston, MA 02110-1301, USA.
16 ########################################################################
18 ########################################################################
19 add_executable(rtl_433
29 devices/oregon_scientific.c
35 target_link_libraries(rtl_433
36 ${LIBRTLSDR_LIBRARIES}
37 ${CMAKE_THREAD_LIBS_INIT}
41 set(INSTALL_TARGETS rtl_433)
43 target_link_libraries(rtl_433 m)
46 ########################################################################
47 # Install built library files & utilities
48 ########################################################################
49 install(TARGETS ${INSTALL_TARGETS}
50 RUNTIME DESTINATION bin # .dll file