Skip to content

Commit

Permalink
Merge pull request #69 from MambaWong/without_poco
Browse files Browse the repository at this point in the history
build: remove external library 'libpoco-dev'
  • Loading branch information
minhanghuang committed Jul 20, 2024
2 parents a73eff4 + 18358e1 commit e7a18b0
Show file tree
Hide file tree
Showing 11 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ubuntu-latest-arrch64-v9.0.0-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:

install: |
apt update
apt install -y lsb-release git wget pkg-config g++ cmake libpoco-dev uuid-dev libncurses5-dev python3-dev
apt install -y lsb-release git wget pkg-config g++ cmake uuid-dev libncurses5-dev python3-dev
run: |
echo "-----------------------"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ubuntu-latest-v9.0.0-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
DEBIAN_FRONTEND: noninteractive
run: |
apt update
apt install -y lsb-release git wget pkg-config g++ cmake libpoco-dev uuid-dev libncurses5-dev python3-dev
apt install -y lsb-release git wget pkg-config g++ cmake uuid-dev libncurses5-dev python3-dev
cd /workspace/${{ github.repository }} && python3 install.py
- name: Build
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ubuntu18-arrch64-v9.0.0-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:

install: |
apt update
apt install -y lsb-release git wget pkg-config g++ cmake libpoco-dev uuid-dev libncurses5-dev python3-dev
apt install -y lsb-release git wget pkg-config g++ cmake uuid-dev libncurses5-dev python3-dev
run: |
echo "-----------------------"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ubuntu18-v9.0.0-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
DEBIAN_FRONTEND: noninteractive
run: |
apt update
apt install -y lsb-release git wget pkg-config g++ cmake libpoco-dev uuid-dev libncurses5-dev python3-dev
apt install -y lsb-release git wget pkg-config g++ cmake uuid-dev libncurses5-dev python3-dev
cd /workspace/${{ github.repository }} && python3 install.py
- name: Build
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ubuntu20-arrch64-v9.0.0-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:

install: |
apt update
apt install -y lsb-release git wget pkg-config g++ cmake libpoco-dev uuid-dev libncurses5-dev python3-dev
apt install -y lsb-release git wget pkg-config g++ cmake uuid-dev libncurses5-dev python3-dev
run: |
echo "-----------------------"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ubuntu20-v9.0.0-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
DEBIAN_FRONTEND: noninteractive
run: |
apt update
apt install -y lsb-release git wget pkg-config g++ cmake libpoco-dev uuid-dev libncurses5-dev python3-dev
apt install -y lsb-release git wget pkg-config g++ cmake uuid-dev libncurses5-dev python3-dev
cd /workspace/${{ github.repository }} && python3 install.py
- name: Build
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ubuntu22-arrch64-v9.0.0-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:

install: |
apt update
apt install -y lsb-release git wget pkg-config g++ cmake libpoco-dev uuid-dev libncurses5-dev python3-dev
apt install -y lsb-release git wget pkg-config g++ cmake uuid-dev libncurses5-dev python3-dev
run: |
echo "-----------------------"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ubuntu22-v9.0.0-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
DEBIAN_FRONTEND: noninteractive
run: |
apt update
apt install -y lsb-release git wget pkg-config g++ cmake libpoco-dev uuid-dev libncurses5-dev python3-dev
apt install -y lsb-release git wget pkg-config g++ cmake uuid-dev libncurses5-dev python3-dev
cd /workspace/${{ github.repository }} && python3 install.py
- name: Build
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ubuntu24-v9.0.0-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
DEBIAN_FRONTEND: noninteractive
run: |
apt update
apt install -y lsb-release git wget pkg-config g++ cmake libpoco-dev uuid-dev libncurses5-dev python3-dev
apt install -y lsb-release git wget pkg-config g++ cmake uuid-dev libncurses5-dev python3-dev
cd /workspace/${{ github.repository }} && python3 install.py
- name: Build
Expand Down
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ find_package(Threads REQUIRED)
find_package(PkgConfig REQUIRED)
find_package(fastrtps REQUIRED)
find_package(fastcdr REQUIRED)
find_package(Poco REQUIRED COMPONENTS Foundation)
find_package(glog REQUIRED)
find_package(Protobuf REQUIRED)
# find_package(Python REQUIRED COMPONENTS Interpreter Development)
Expand Down Expand Up @@ -179,10 +178,11 @@ target_link_libraries(${TARGET_NAME}
${NlohmannJson_LIBRARIES}
${Protobuf_LIBRARIES}
${Uuid_LIBRARIES}
${Poco_LIBRARIES}
fastrtps
fastcdr
atomic
dl
rt
)

add_subdirectory(cyber/mainboard)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
```shell
sudo apt update
sudo apt install -y libpoco-dev uuid-dev libncurses5-dev python3-dev python3-pip
sudo apt install -y uuid-dev libncurses5-dev python3-dev python3-pip
python3 -m pip install protobuf==3.14.0
```

Expand Down

0 comments on commit e7a18b0

Please sign in to comment.