mirror of
https://github.com/rtlsdrblog/rtl-sdr-blog.git
synced 2024-12-26 02:48:31 +01:00
fix win32 build
Signed-off-by: Steve Markgraf <steve@steve-m.de>
This commit is contained in:
parent
ec925a64ad
commit
2b8dfe43f8
@ -67,7 +67,10 @@ endif()
|
|||||||
add_executable(rtl_sdr rtl_sdr.c)
|
add_executable(rtl_sdr rtl_sdr.c)
|
||||||
add_executable(rtl_tcp rtl_tcp.c)
|
add_executable(rtl_tcp rtl_tcp.c)
|
||||||
add_executable(rtl_test rtl_test.c)
|
add_executable(rtl_test rtl_test.c)
|
||||||
|
set(INSTALL_TARGETS rtlsdr_shared rtlsdr_static rtl_sdr rtl_tcp rtl_test)
|
||||||
|
|
||||||
if(UNIX)
|
if(UNIX)
|
||||||
|
LIST(APPEND INSTALL_TARGETS rtl_fm)
|
||||||
add_executable(rtl_fm rtl_fm.c)
|
add_executable(rtl_fm rtl_fm.c)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
@ -102,7 +105,7 @@ endif()
|
|||||||
########################################################################
|
########################################################################
|
||||||
# Install built library files & utilities
|
# Install built library files & utilities
|
||||||
########################################################################
|
########################################################################
|
||||||
install(TARGETS rtlsdr_shared rtlsdr_static rtl_sdr rtl_tcp rtl_test rtl_fm
|
install(TARGETS ${INSTALL_TARGETS}
|
||||||
LIBRARY DESTINATION lib${LIB_SUFFIX} # .so/.dylib file
|
LIBRARY DESTINATION lib${LIB_SUFFIX} # .so/.dylib file
|
||||||
ARCHIVE DESTINATION lib${LIB_SUFFIX} # .lib file
|
ARCHIVE DESTINATION lib${LIB_SUFFIX} # .lib file
|
||||||
RUNTIME DESTINATION bin # .dll file
|
RUNTIME DESTINATION bin # .dll file
|
||||||
|
Loading…
Reference in New Issue
Block a user