Appveyor config for building hackrf_sweep (#344)

Appveyor builds for hackrf_sweep
This commit is contained in:
Dominic Spill
2017-02-15 16:44:44 -07:00
committed by Michael Ossmann
parent d7a799d6f2
commit a8c1fc92e9
6 changed files with 25 additions and 21 deletions

View File

@@ -23,7 +23,7 @@
set(INSTALL_DEFAULT_BINDIR "bin" CACHE STRING "Appended to CMAKE_INSTALL_PREFIX")
INCLUDE(FindPkgConfig)
find_package(FFTW REQUIRED)
SET(TOOLS
hackrf_transfer
@@ -39,9 +39,7 @@ if(MSVC)
../getopt/getopt.c
)
LIST(APPEND TOOLS_LINK_LIBS ${FFTW_LIBRARIES})
include_directories(${FFTW_INCLUDES})
else()
pkg_check_modules(FFTW REQUIRED fftw3f)
LIST(APPEND TOOLS_LINK_LIBS m fftw3f)
endif()