SDRPlusPlus/source_modules/harogic_source/CMakeLists.txt

17 lines
632 B
CMake
Raw Normal View History

2024-08-22 01:52:27 +02:00
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)
2024-08-22 01:52:27 +02:00
endif ()