Update cmake_minimum_required to 2.8.3 for host/
Resolves issue #123 host/CMakeLists.txt uses CMAKE_CURRENT_LIST_DIR, which does not exist before 2.8.3. Updating this to avoid obscure build errors on old machines. Also adding a few missing cmake_minimum_required directives to avoid a warning that likes to pop up when they're missing.
This commit is contained in:
parent
c7355c592f
commit
66536f2d5d
3 changed files with 5 additions and 1 deletions
|
|
@ -1,3 +1,5 @@
|
|||
cmake_minimum_required(VERSION 2.8)
|
||||
|
||||
add_custom_target(fx3_firmware ALL
|
||||
COMMAND ${CMAKE_MAKE_PROGRAM} OUTPUT_DIR=${CMAKE_CURRENT_BINARY_DIR}/build
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
# the CMakeLists.txt from the rtl-sdr project.
|
||||
# http://sdr.osmocom.org/trac/wiki/rtl-sdr
|
||||
|
||||
cmake_minimum_required(VERSION 2.8)
|
||||
cmake_minimum_required(VERSION 2.8.3)
|
||||
project(bladeRF C)
|
||||
|
||||
################################################################################
|
||||
|
|
|
|||
|
|
@ -4,6 +4,8 @@
|
|||
#
|
||||
# TODO license text here (see top-level COPYING for time being)
|
||||
|
||||
cmake_minimum_required(VERSION 2.8)
|
||||
|
||||
################################################################################
|
||||
# Install libbladeRF header files
|
||||
################################################################################
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue