mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2024-11-07 19:27:36 +01:00
23 lines
730 B
CMake
23 lines
730 B
CMake
cmake_minimum_required(VERSION 3.13)
|
|
project(spectran_source)
|
|
|
|
file(GLOB SRC "src/*.cpp")
|
|
|
|
include(${SDRPP_MODULE_CMAKE})
|
|
|
|
if (MSVC)
|
|
# Lib path
|
|
target_link_directories(spectran_source PRIVATE "C:/Program Files/Aaronia AG/Aaronia RTSA-Suite PRO/sdk")
|
|
|
|
target_include_directories(spectran_source PUBLIC "C:/Program Files/Aaronia AG/Aaronia RTSA-Suite PRO/sdk")
|
|
|
|
target_link_libraries(spectran_source PRIVATE AaroniaRTSAAPI)
|
|
else (MSVC)
|
|
# Lib path
|
|
target_link_directories(spectran_source PRIVATE "~/Aaronia/RTSA/Aaronia-RTSA-Suite-PRO")
|
|
|
|
target_include_directories(spectran_source PUBLIC "~/Aaronia/RTSA/Aaronia-RTSA-Suite-PRO")
|
|
|
|
target_link_libraries(spectran_source PRIVATE AaroniaRTSAAPI)
|
|
endif ()
|