diff options
| author | 3gg <3gg@shellblade.net> | 2025-12-27 12:03:39 -0800 |
|---|---|---|
| committer | 3gg <3gg@shellblade.net> | 2025-12-27 12:03:39 -0800 |
| commit | 5a079a2d114f96d4847d1ee305d5b7c16eeec50e (patch) | |
| tree | 8926ab44f168acf787d8e19608857b3af0f82758 /contrib/SDL-3.2.8/cmake/SDL3jarTargets.cmake.in | |
Initial commit
Diffstat (limited to 'contrib/SDL-3.2.8/cmake/SDL3jarTargets.cmake.in')
| -rw-r--r-- | contrib/SDL-3.2.8/cmake/SDL3jarTargets.cmake.in | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/contrib/SDL-3.2.8/cmake/SDL3jarTargets.cmake.in b/contrib/SDL-3.2.8/cmake/SDL3jarTargets.cmake.in new file mode 100644 index 0000000..732d293 --- /dev/null +++ b/contrib/SDL-3.2.8/cmake/SDL3jarTargets.cmake.in | |||
| @@ -0,0 +1,10 @@ | |||
| 1 | @PACKAGE_INIT@ | ||
| 2 | |||
| 3 | set_and_check(SDL3_JAR "@PACKAGE_SDL_INSTALL_JAVADIR@/SDL3/SDL3-@SDL3_VERSION@.jar") | ||
| 4 | |||
| 5 | if(NOT TARGET SDL3::Jar) | ||
| 6 | add_library(SDL3::Jar INTERFACE IMPORTED) | ||
| 7 | set_property(TARGET SDL3::Jar PROPERTY JAR_FILE "${SDL3_JAR}") | ||
| 8 | endif() | ||
| 9 | |||
| 10 | unset(SDL3_JAR) | ||
