File tree Expand file tree Collapse file tree 2 files changed +14
-1
lines changed
Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Original file line number Diff line number Diff line change 1010jobs :
1111 build-docker :
1212 runs-on : ubuntu-latest
13+ env :
14+ DBus1_ROOT : ${{ github.workspace }}/cmake
1315 strategy :
1416 matrix :
1517 build :
1921 image : ${{ matrix.build.image }}
2022 options : --user root
2123 env :
22- DBus1_ROOT : /usr/lib/aarch64-linux-gnu/ cmake/DBus1
24+ DBus1_ROOT : ${{ github.workspace }}/ cmake
2325 steps :
2426 - name : Checkout repository
2527 uses : actions/checkout@v3
Original file line number Diff line number Diff line change 1+ message ("FOUND DBUS" )
2+
3+ set (DBus1_LIBRARY "/usr/lib/x86_64-linux-gnu/libdbus-1.so" CACHE STRING "DBus library" )
4+ set (DBus1_LIBRARIES "${DBus1_LIBRARY} " CACHE STRING "DBus libraries" )
5+ set (DBus1_INCLUDE_DIR "/usr/include/dbus-1.0" CACHE STRING "DBus include dir" )
6+ set (DBus1_ARCH_INCLUDE_DIR "/usr/lib/${CMAKE_SYSTEM_PROCESSOR} -linux-gnu/dbus-1.0/include" CACHE STRING "DBus arch include dir" )
7+
8+ add_library (dbus-1 SHARED IMPORTED )
9+ set_property (TARGET dbus-1 PROPERTY IMPORTED_LOCATION ${DBus1_LIBRARY} )
10+ set_property (TARGET dbus-1 PROPERTY INTERFACE_INCLUDE_DIRECTORIES ${DBus1_INCLUDE_DIRS} )
11+ set_property (TARGET dbus-1 PROPERTY INTERFACE_COMPILE_DEFINITIONS ${DBus1_DEFINITIONS} )
You can’t perform that action at this time.
0 commit comments