File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
packages/rfpowermeter/plugins/rfpowermeter Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ target_include_directories(${PROJECT_NAME} INTERFACE ${CMAKE_CURRENT_SOURCE_DIR}
8181target_include_directories (${PROJECT_NAME} PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} /include /${SCOPY_MODULE} )
8282
8383target_include_directories (${PROJECT_NAME} PUBLIC ${CURRENT_PKG_PATH} /include )
84- target_include_directories (${PROJECT_NAME} PUBLIC scopy-pluginbase scopy-gui scopy-core)
84+ target_include_directories (${PROJECT_NAME} PUBLIC scopy-pluginbase scopy-gui scopy-core scopy-datalogger )
8585target_include_directories (${PROJECT_NAME} PRIVATE ${IIO_INCLUDE_DIRS} scopy-gui scopy-iioutil)
8686
8787target_link_libraries (
@@ -95,6 +95,9 @@ target_link_libraries(
9595 scopy-datalogger
9696)
9797
98+ # Set RPATH to find scopy-datalogger in generic-plugins directory
99+ set_target_properties (${PROJECT_NAME} PROPERTIES INSTALL_RPATH "$ORIGIN/../../generic-plugins/plugins" )
100+
98101if (${CMAKE_SYSTEM_NAME} MATCHES "Windows" )
99102 configureinstallersettings(${SCOPY_MODULE} ${PLUGIN_DESCRIPTION} FALSE )
100103endif ()
You can’t perform that action at this time.
0 commit comments