mirror of
https://gitee.com/sogou/srpc.git
synced 2024-12-21 16:14:54 +08:00
fix targets in srpc-config.cmake.in
This commit is contained in:
parent
84a0301f0d
commit
50dcfb703b
@ -5,7 +5,7 @@ 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@")
|
||||
|
||||
if (EXISTS pathToFileOrDir)
|
||||
if (EXISTS "${CMAKE_CURRENT_LIST_DIR}/srpc-targets.cmake")
|
||||
include ("${CMAKE_CURRENT_LIST_DIR}/srpc-targets.cmake")
|
||||
endif ()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user