Skip to content

Commit 6271390

Browse files
Merge pull request #1675 from St0fF-NPL-ToM/master
fix vsgMacros.cmake
2 parents 7af3871 + 4abd2f2 commit 6271390

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

cmake/vsgMacros.cmake

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,11 @@ macro(vsg_add_cmake_support_files)
141141
DESTINATION
142142
${CMAKE_INSTALL_LIBDIR}/cmake/${ARGS_PREFIX}
143143
)
144+
# Buildtree-Export
145+
export( EXPORT ${ARGS_PREFIX}Targets
146+
FILE ${ARGS_PREFIX}Targets.cmake
147+
NAMESPACE ${ARGS_PREFIX}::
148+
)
144149
endmacro()
145150

146151
#

0 commit comments

Comments
 (0)