Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:mnhauke:mingw:win64:sdr
mingw64-hackrf
mingw64-hackrf-cmake-fix.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mingw64-hackrf-cmake-fix.patch of Package mingw64-hackrf
diff --git a/host/cmake/modules/FindFFTW.cmake b/host/cmake/modules/FindFFTW.cmake index 802db4f..867ffa6 100644 --- a/host/cmake/modules/FindFFTW.cmake +++ b/host/cmake/modules/FindFFTW.cmake @@ -12,12 +12,7 @@ endif (FFTW_INCLUDES) find_path (FFTW_INCLUDES fftw3.h) -IF (WIN32) -include_directories(${FFTW_INCLUDES}) -find_library (FFTW_LIBRARIES NAMES ${FFTW_LIBRARIES}) -ELSE(WIN32) find_library (FFTW_LIBRARIES NAMES fftw3f) -ENDIF(WIN32) diff --git a/host/cmake/modules/FindUSB1.cmake b/host/cmake/modules/FindUSB1.cmake index 2f3138d..cd377db 100644 --- a/host/cmake/modules/FindUSB1.cmake +++ b/host/cmake/modules/FindUSB1.cmake @@ -17,12 +17,8 @@ if (LIBUSB_INCLUDE_DIR AND LIBUSB_LIBRARIES) set(LIBUSB_FOUND TRUE) else (LIBUSB_INCLUDE_DIR AND LIBUSB_LIBRARIES) - IF (NOT WIN32) - # use pkg-config to get the directories and then use these values - # in the FIND_PATH() and FIND_LIBRARY() calls find_package(PkgConfig) pkg_check_modules(PC_LIBUSB libusb-1.0) - ENDIF(NOT WIN32) set(LIBUSB_LIBRARY_NAME usb-1.0) IF(${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD") @@ -40,4 +36,4 @@ else (LIBUSB_INCLUDE_DIR AND LIBUSB_LIBRARIES) MARK_AS_ADVANCED(LIBUSB_INCLUDE_DIR LIBUSB_LIBRARIES) -endif (LIBUSB_INCLUDE_DIR AND LIBUSB_LIBRARIES) \ No newline at end of file +endif (LIBUSB_INCLUDE_DIR AND LIBUSB_LIBRARIES)
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor