Skip to content

Commit 93a9967

Browse files
committed
cmake: export targets from build directory
1 parent c32998c commit 93a9967

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -277,6 +277,8 @@ if(SDLNET_INSTALL)
277277
COMPONENT library
278278
)
279279

280+
export(TARGETS ${sdl3_net_target_name} NAMESPACE "SDL3_net::" FILE "${sdl3_net_target_name}-targets.cmake")
281+
280282
if(SDLNET_INSTALL_MAN)
281283
sdl_get_git_revision_hash(SDLNET_REVISION)
282284
SDL_generate_manpages(

0 commit comments

Comments
 (0)