Skip to content

Commit

Permalink
fix(cmake): conan path added to cmake (#505)
Browse files Browse the repository at this point in the history
  • Loading branch information
bouda1 authored Jan 9, 2023
1 parent 5512b48 commit 031d989
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/centreon-collect.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
- dev-22.10.x

env:
REGISTRY: registry-docker.centreon.com/docker-global
REGISTRY: docker.centreon.com

jobs:
create-version:
Expand Down Expand Up @@ -221,4 +221,4 @@ jobs:
cloudfront_id: ${{ secrets.CLOUDFRONT_ID }}
yum_repo_address: ${{ secrets.YUM_REPO_ADDRESS }}
yum_repo_key: ${{ secrets.YUM_REPO_KEY }}
yum_repo_url: ${{ secrets.YUM_REPO_URL }}
yum_repo_url: ${{ secrets.YUM_REPO_URL }}
2 changes: 1 addition & 1 deletion .github/workflows/docker-builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ on:
- 'ci/docker/**'

env:
REGISTRY: registry-docker.centreon.com/docker-global
REGISTRY: docker.centreon.com

jobs:
create-version:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/robot-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
- cron: '0 0 * * *'

env:
REGISTRY: registry-docker.centreon.com/docker-global
REGISTRY: docker.centreon.com

jobs:
robot-test:
Expand Down
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,8 @@ set(USER_ENGINE centreon-engine)
include(${CMAKE_BINARY_DIR}/conanbuildinfo.cmake)
conan_basic_setup(TARGETS)

set(CMAKE_PROGRAM_PATH ${CONAN_BIN_DIRS_PROTOBUF};${CMAKE_PROGRAM_PATH})

find_package(Protobuf REQUIRED)

message(NOTICE "-- use protoc compiler: ${Protobuf_PROTOC_EXECUTABLE}")
Expand Down

0 comments on commit 031d989

Please sign in to comment.