Skip to content

Commit

Permalink
bug cmake: fix mac os build
Browse files Browse the repository at this point in the history
Tests: протестировано CI
Co-authored-by: pavelbezpravel [email protected]

Pull Request resolved: #377
  • Loading branch information
segoon committed Sep 20, 2023
1 parent 267f102 commit f90adef
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cmake/GrpcTargets.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,10 @@ else()
endif()
if(Protobuf_INCLUDE_DIR)
set(USERVER_PROTOBUF_IMPORT_DIR "${Protobuf_INCLUDE_DIR}")
else()
elseif(Protobuf_INCLUDE_DIRS)
set(USERVER_PROTOBUF_IMPORT_DIR "${Protobuf_INCLUDE_DIRS}")
else()
set(USERVER_PROTOBUF_IMPORT_DIR "${protobuf_INCLUDE_DIRS}")
endif()

include(SetupGrpc)
Expand Down

0 comments on commit f90adef

Please sign in to comment.