Skip to content

Commit

Permalink
Export package targets
Browse files Browse the repository at this point in the history
  • Loading branch information
thatcosmonaut committed Nov 14, 2024
1 parent 2394992 commit 2506e89
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -471,3 +471,11 @@ if(SDLSHADERCROSS_INSTALL_RUNTIME)
# FIXME: Apple probably needs to do something similar as Linux, but using otool
endif()
endif()

if(SDLSHADERCROSS_SHARED)
export(TARGETS SDL3_shadercross-shared NAMESPACE "SDL3_shadercross::" FILE "SDL3_shadercross-shared-targets.cmake")
endif()

if(SDLSHADERCROSS_STATIC)
export(TARGETS SDL3_shadercross-static NAMESPACE "SDL3_shadercross::" FILE "SDL3_shadercross-static-targets.cmake")
endif()

0 comments on commit 2506e89

Please sign in to comment.