|
@@ -160,8 +160,9 @@ set_target_properties(pahottpp PROPERTIES IMPORTED_LOCATION ${paho-mqttpp3})
|
|
|
|
|
|
add_library(pahomqtt3as SHARED IMPORTED)
|
|
add_library(pahomqtt3as SHARED IMPORTED)
|
|
set_property(TARGET pahomqtt3as PROPERTY IMPORTED_LOCATION ${paho-mqtt3as})
|
|
set_property(TARGET pahomqtt3as PROPERTY IMPORTED_LOCATION ${paho-mqtt3as})
|
|
-
|
|
|
|
-
|
|
|
|
|
|
+find_package(PkgConfig REQUIRED)
|
|
|
|
+pkg_check_modules(JSONCPP jsoncpp)
|
|
|
|
+link_libraries(${JSONCPP_LIBRARIES})
|
|
|
|
|
|
if(MIRISDR)
|
|
if(MIRISDR)
|
|
find_package(MiriSDR)
|
|
find_package(MiriSDR)
|
|
@@ -325,6 +326,7 @@ add_library (rtl_airband_base OBJECT
|
|
target_include_directories (rtl_airband_base PUBLIC
|
|
target_include_directories (rtl_airband_base PUBLIC
|
|
${CMAKE_CURRENT_BINARY_DIR} # needed for config.h
|
|
${CMAKE_CURRENT_BINARY_DIR} # needed for config.h
|
|
${rtl_airband_include_dirs}
|
|
${rtl_airband_include_dirs}
|
|
|
|
+ ${JSONCPP_INCLUDE_DIRS}
|
|
)
|
|
)
|
|
|
|
|
|
# can't do this per target with cmake <3.13
|
|
# can't do this per target with cmake <3.13
|