1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-22 16:08:39 -05:00

Try to fix windows build

This commit is contained in:
Jon Beniston 2022-07-19 14:25:02 +01:00
parent cec97b2e8d
commit 94a2132475

View File

@ -1077,7 +1077,7 @@ if (WIN32 OR APPLE)
CMAKE_ARGS ${COMMON_CMAKE_ARGS} CMAKE_ARGS ${COMMON_CMAKE_ARGS}
-DINSTALL_UDEV_RULES=${RTLSDR_UDEV} -DINSTALL_UDEV_RULES=${RTLSDR_UDEV}
-DLIBUSB_LIBRARIES=${LIBUSB_LIBRARIES} -DLIBUSB_LIBRARIES=${LIBUSB_LIBRARIES}
-DCMAKE_C_FLAGS=-I${RTLSDR_LIBUSB_INCLUDE} -DLIBUSB_INCLUDE_DIRS=${RTLSDR_LIBUSB_INCLUDE}
-DTHREADS_PTHREADS_INCLUDE_DIR=${PTHREADS4W_INCLUDE_DIR} -DTHREADS_PTHREADS_INCLUDE_DIR=${PTHREADS4W_INCLUDE_DIR}
-DTHREADS_PTHREADS_WIN32_LIBRARY=${PTHREADS4W_LIBRARIES} -DTHREADS_PTHREADS_WIN32_LIBRARY=${PTHREADS4W_LIBRARIES}
BUILD_BYPRODUCTS "${LIBRTLSDR_LIBRARIES}" BUILD_BYPRODUCTS "${LIBRTLSDR_LIBRARIES}"