File tree 4 files changed +7
-1
lines changed
4 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 1
1
########################################################################
2
2
# Project setup
3
3
########################################################################
4
- cmake_minimum_required (VERSION 2.8.9 )
4
+ cmake_minimum_required (VERSION 2.8.12 )
5
5
project (SoapyPlutoSDR CXX)
6
6
7
7
# select build type to get optimization flags
Original file line number Diff line number Diff line change @@ -25,7 +25,9 @@ find_library(LibAD9361_LIBRARY NAMES ad9361 libad9361
25
25
set (LibAD9361_VERSION ${PC_LibAD9361_VERSION} )
26
26
27
27
include (FindPackageHandleStandardArgs)
28
+ # Note that `FOUND_VAR LibIIO_FOUND` is needed for cmake 3.2 and older.
28
29
find_package_handle_standard_args(LibAD9361
30
+ FOUND_VAR LibAD9361_FOUND
29
31
REQUIRED_VARS LibAD9361_LIBRARY LibAD9361_INCLUDE_DIR
30
32
VERSION_VAR LibAD9361_VERSION)
31
33
Original file line number Diff line number Diff line change @@ -25,7 +25,9 @@ find_library(LibIIO_LIBRARY NAMES iio libiio
25
25
set (LibIIO_VERSION ${PC_LibIIO_VERSION} )
26
26
27
27
include (FindPackageHandleStandardArgs)
28
+ # Note that `FOUND_VAR LibIIO_FOUND` is needed for cmake 3.2 and older.
28
29
find_package_handle_standard_args(LibIIO
30
+ FOUND_VAR LibIIO_FOUND
29
31
REQUIRED_VARS LibIIO_LIBRARY LibIIO_INCLUDE_DIR
30
32
VERSION_VAR LibIIO_VERSION)
31
33
Original file line number Diff line number Diff line change @@ -44,7 +44,9 @@ set(LibUSB_VERSION ${PC_LibUSB_VERSION})
44
44
include (FindPackageHandleStandardArgs)
45
45
# handle the QUIETLY and REQUIRED arguments and set LibUSB_FOUND to TRUE
46
46
# if all listed variables are TRUE
47
+ # Note that `FOUND_VAR LibIIO_FOUND` is needed for cmake 3.2 and older.
47
48
find_package_handle_standard_args(LibUSB
49
+ FOUND_VAR LibUSB_FOUND
48
50
REQUIRED_VARS LibUSB_LIBRARY LibUSB_INCLUDE_DIR
49
51
VERSION_VAR LibUSB_VERSION)
50
52
You can’t perform that action at this time.
0 commit comments