mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2024-11-14 14:32:52 +01:00
17 lines
632 B
CMake
17 lines
632 B
CMake
cmake_minimum_required(VERSION 3.13)
|
|
project(harogic_source)
|
|
|
|
file(GLOB SRC "src/*.cpp")
|
|
|
|
include(${SDRPP_MODULE_CMAKE})
|
|
|
|
if (MSVC)
|
|
# Lib path
|
|
target_link_directories(harogic_source PRIVATE "C:/radio/HTRA_API/x64/htra_api/")
|
|
target_include_directories(harogic_source PRIVATE "C:/radio/HTRA_API/x64/htra_api/")
|
|
target_link_libraries(harogic_source PRIVATE htra_api)
|
|
else (MSVC)
|
|
target_link_directories(harogic_source PRIVATE "/opt/htraapi/lib/${CMAKE_SYSTEM_PROCESSOR}/")
|
|
target_include_directories(harogic_source PRIVATE "/opt/htraapi/inc/")
|
|
target_link_libraries(harogic_source PRIVATE htraapi)
|
|
endif () |