srsran / srsGUI

A graphics library for software radio.
GNU Lesser General Public License v3.0
140 stars 86 forks source link

cmake package autogeneration enabled & little findQwt.cmake fix #13

Open p5-vbnekit opened 3 years ago

p5-vbnekit commented 3 years ago

This feature is made according to the following instructions: https://cmake.org/cmake/help/git-stage/guide/importing-exporting/index.html

Installed srsgui library can be easily imported from another cmake-project (modern way):

cmake_minimum_required(VERSION 3.15)
project("test")

find_package("srsgui" REQUIRED)

add_executable("test" test.cxx)

target_link_libraries("test" PRIVATE "srsgui::srsgui")

note: There's 2 commits... Obviously first commit is optional, but recommended. =)

CLAassistant commented 3 years ago

CLA assistant check
All committers have signed the CLA.