set release string in libhackrf and hackrf-tools even if they are built separately

This commit is contained in:
Michael Ossmann
2017-02-08 15:44:21 -07:00
parent 9e4f14443a
commit 53d0b8b73e
4 changed files with 28 additions and 27 deletions

View File

@@ -24,6 +24,7 @@
cmake_minimum_required(VERSION 2.8)
project(hackrf-tools C)
set(PACKAGE hackrf-tools)
include(${PROJECT_SOURCE_DIR}/../cmake/set_release.cmake)
add_definitions(-DTOOL_RELEASE="${RELEASE}")
set(CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/../cmake/modules)