File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -134,6 +134,7 @@ function(package_project)
134134 set (_PackageProject_NAMESPACE "${_PackageProject_NAME} ::" )
135135 set (_PackageProject_VARS_PREFIX ${_PackageProject_NAME} )
136136 set (_PackageProject_EXPORT ${_PackageProject_NAME} )
137+ set (_PackageProject_SET "${_PackageProject} _deps_set" )
137138
138139 # default version to the project version
139140 if ("${_PackageProject_VERSION} " STREQUAL "" )
@@ -249,6 +250,7 @@ function(package_project)
249250 install (
250251 TARGETS ${_targets_list}
251252 EXPORT ${_PackageProject_EXPORT}
253+ RUNTIME_DEPENDENCY_SET ${_PackageProject_SET}
252254 LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR} " COMPONENT shlib
253255 ARCHIVE DESTINATION "${CMAKE_INSTALL_LIBDIR} " COMPONENT lib
254256 RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR} " COMPONENT bin
You can’t perform that action at this time.
0 commit comments