Skip to content

Commit

Permalink
add check for srpc-targets.cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
holmes1412 committed Feb 9, 2021
1 parent 3224966 commit b21c879
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion srpc-config.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ set_and_check(SRPC_INCLUDE_DIR "@PACKAGE_CONFIG_INC_DIR@")
set_and_check(SRPC_LIB_DIR "@PACKAGE_CONFIG_LIB_DIR@")
set_and_check(SRPC_BIN_DIR "@PACKAGE_CONFIG_BIN_DIR@")

include ("${CMAKE_CURRENT_LIST_DIR}/srpc-targets.cmake")
if (EXISTS pathToFileOrDir)
include ("${CMAKE_CURRENT_LIST_DIR}/srpc-targets.cmake")
endif ()

check_required_components(srpc)

0 comments on commit b21c879

Please sign in to comment.