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:
Ryan Tucker 2013-09-29 12:54:25 -04:00
commit 66536f2d5d
3 changed files with 5 additions and 1 deletions

View file

@ -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})

View file

@ -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)
################################################################################

View file

@ -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
################################################################################