Skip to content

Commit

Permalink
really use @relative_path@
Browse files Browse the repository at this point in the history
  • Loading branch information
SpaceIm committed Feb 9, 2022
1 parent d15c963 commit 065d579
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions recipes/grpc/all/cmake/grpc_plugin_template.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ if(NOT TARGET @target_name@)
if(CMAKE_CROSSCOMPILING)
find_program(@find_program_variable@
NAMES @executable_name@
PATHS ENV
PATH NO_DEFAULT_PATH
PATHS ENV PATH
NO_DEFAULT_PATH
)
else()
find_program(@find_program_variable@
NAMES @executable_name@
PATHS "${CMAKE_CURRENT_LIST_DIR}/../../../bin/"
PATHS "${CMAKE_CURRENT_LIST_DIR}/@relative_path@bin/"
NO_DEFAULT_PATH
)
endif()
Expand Down

0 comments on commit 065d579

Please sign in to comment.