{"payload":{"allShortcutsEnabled":false,"fileTree":{"":{"items":[{"name":"VisualC-WinRT","path":"VisualC-WinRT","contentType":"directory"},{"name":"VisualC","path":"VisualC","contentType":"directory"},{"name":"Xcode-iOS","path":"Xcode-iOS","contentType":"directory"},{"name":"Xcode","path":"Xcode","contentType":"directory"},{"name":"acinclude","path":"acinclude","contentType":"directory"},{"name":"android-project","path":"android-project","contentType":"directory"},{"name":"build-scripts","path":"build-scripts","contentType":"directory"},{"name":"cmake","path":"cmake","contentType":"directory"},{"name":"debian","path":"debian","contentType":"directory"},{"name":"docs","path":"docs","contentType":"directory"},{"name":"include","path":"include","contentType":"directory"},{"name":"premake","path":"premake","contentType":"directory"},{"name":"src","path":"src","contentType":"directory"},{"name":"test","path":"test","contentType":"directory"},{"name":"visualtest","path":"visualtest","contentType":"directory"},{"name":".hgignore","path":".hgignore","contentType":"file"},{"name":"Android.mk","path":"Android.mk","contentType":"file"},{"name":"BUGS.txt","path":"BUGS.txt","contentType":"file"},{"name":"CMakeLists.txt","path":"CMakeLists.txt","contentType":"file"},{"name":"COPYING.txt","path":"COPYING.txt","contentType":"file"},{"name":"CREDITS.txt","path":"CREDITS.txt","contentType":"file"},{"name":"INSTALL.txt","path":"INSTALL.txt","contentType":"file"},{"name":"Makefile.in","path":"Makefile.in","contentType":"file"},{"name":"Makefile.minimal","path":"Makefile.minimal","contentType":"file"},{"name":"Makefile.pandora","path":"Makefile.pandora","contentType":"file"},{"name":"Makefile.psp","path":"Makefile.psp","contentType":"file"},{"name":"Makefile.wiz","path":"Makefile.wiz","contentType":"file"},{"name":"README-SDL.txt","path":"README-SDL.txt","contentType":"file"},{"name":"README.txt","path":"README.txt","contentType":"file"},{"name":"SDL2.spec.in","path":"SDL2.spec.in","contentType":"file"},{"name":"TODO.txt","path":"TODO.txt","contentType":"file"},{"name":"VisualC.html","path":"VisualC.html","contentType":"file"},{"name":"WhatsNew.txt","path":"WhatsNew.txt","contentType":"file"},{"name":"autogen.sh","path":"autogen.sh","contentType":"file"},{"name":"cmake_uninstall.cmake.in","path":"cmake_uninstall.cmake.in","contentType":"file"},{"name":"configure","path":"configure","contentType":"file"},{"name":"configure.in","path":"configure.in","contentType":"file"},{"name":"sdl2-config.cmake.in","path":"sdl2-config.cmake.in","contentType":"file"},{"name":"sdl2-config.in","path":"sdl2-config.in","contentType":"file"},{"name":"sdl2.m4","path":"sdl2.m4","contentType":"file"},{"name":"sdl2.pc.in","path":"sdl2.pc.in","contentType":"file"}],"totalCount":41}},"fileTreeProcessingTime":2.077385,"foldersToFetch":[],"repo":{"id":330008801,"defaultBranch":"main","name":"SDL","ownerLogin":"libsdl-org","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2021-01-15T19:55:54.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/77683370?v=4","public":true,"private":false,"isOrgOwned":true},"symbolsExpanded":false,"treeExpanded":true,"refInfo":{"name":"104c9541d9510c2bb2b9aa478e90c54e6230dd8d","listCacheKey":"v0:1709678518.0","canEdit":false,"refType":"tree","currentOid":"104c9541d9510c2bb2b9aa478e90c54e6230dd8d"},"path":"sdl2-config.cmake.in","currentUser":null,"blob":{"rawLines":["# sdl2 cmake project-config input for ./configure scripts","","set(prefix \"@prefix@\") ","set(exec_prefix \"@exec_prefix@\")","set(libdir \"@libdir@\")","set(SDL2_PREFIX \"@prefix@\")","set(SDL2_EXEC_PREFIX \"@prefix@\")","set(SDL2_LIBDIR \"@libdir@\")","set(SDL2_INCLUDE_DIRS \"@includedir@/SDL2\")","set(SDL2_LIBRARIES \"-L${SDL2_LIBDIR} @SDL_RLD_FLAGS@ @SDL_LIBS@\")","string(STRIP \"${SDL2_LIBRARIES}\" SDL2_LIBRARIES)"],"stylingDirectives":[[{"start":0,"end":57,"cssClass":"pl-c"},{"start":0,"end":1,"cssClass":"pl-c"}],[],[{"start":0,"end":3,"cssClass":"pl-c1"},{"start":11,"end":21,"cssClass":"pl-s"}],[{"start":0,"end":3,"cssClass":"pl-c1"},{"start":16,"end":31,"cssClass":"pl-s"}],[{"start":0,"end":3,"cssClass":"pl-c1"},{"start":11,"end":21,"cssClass":"pl-s"}],[{"start":0,"end":3,"cssClass":"pl-c1"},{"start":16,"end":26,"cssClass":"pl-s"}],[{"start":0,"end":3,"cssClass":"pl-c1"},{"start":21,"end":31,"cssClass":"pl-s"}],[{"start":0,"end":3,"cssClass":"pl-c1"},{"start":16,"end":26,"cssClass":"pl-s"}],[{"start":0,"end":3,"cssClass":"pl-c1"},{"start":22,"end":41,"cssClass":"pl-s"}],[{"start":0,"end":3,"cssClass":"pl-c1"},{"start":19,"end":64,"cssClass":"pl-s"},{"start":22,"end":36,"cssClass":"pl-smi"}],[{"start":0,"end":6,"cssClass":"pl-c1"},{"start":7,"end":12,"cssClass":"pl-k"},{"start":13,"end":32,"cssClass":"pl-s"},{"start":14,"end":31,"cssClass":"pl-smi"}]],"colorizedLines":null,"csv":null,"csvError":null,"dependabotInfo":{"showConfigurationBanner":false,"configFilePath":null,"networkDependabotPath":"/libsdl-org/SDL/network/updates","dismissConfigurationNoticePath":"/settings/dismiss-notice/dependabot_configuration_notice","configurationNoticeDismissed":null},"displayName":"sdl2-config.cmake.in","displayUrl":"https://github.com/libsdl-org/SDL/blame/104c9541d9510c2bb2b9aa478e90c54e6230dd8d/sdl2-config.cmake.in?raw=true","headerInfo":{"blobSize":"386 Bytes","deleteTooltip":"You must be signed in to make or propose changes","editTooltip":"You must be signed in to make or propose changes","ghDesktopPath":null,"isGitLfs":false,"onBranch":false,"shortPath":"03efbe1","siteNavLoginPath":"/login?return_to=https%3A%2F%2Fgithub.com%2Flibsdl-org%2FSDL%2Fblame%2F104c9541d9510c2bb2b9aa478e90c54e6230dd8d%2Fsdl2-config.cmake.in","isCSV":false,"isRichtext":false,"toc":null,"lineInfo":{"truncatedLoc":"11","truncatedSloc":"10"},"mode":"file"},"image":false,"isCodeownersFile":null,"isPlain":false,"isValidLegacyIssueTemplate":false,"issueTemplate":null,"discussionTemplate":null,"language":"CMake","languageID":47,"large":false,"planSupportInfo":{"repoIsFork":null,"repoOwnedByCurrentUser":null,"requestFullPath":"/libsdl-org/SDL/blame/104c9541d9510c2bb2b9aa478e90c54e6230dd8d/sdl2-config.cmake.in","showFreeOrgGatedFeatureMessage":null,"showPlanSupportBanner":null,"upgradeDataAttributes":null,"upgradePath":null},"publishBannersInfo":{"dismissActionNoticePath":"/settings/dismiss-notice/publish_action_from_dockerfile","releasePath":"/libsdl-org/SDL/releases/new?marketplace=true","showPublishActionBanner":false},"rawBlobUrl":"https://github.com/libsdl-org/SDL/raw/104c9541d9510c2bb2b9aa478e90c54e6230dd8d/sdl2-config.cmake.in","renderImageOrRaw":false,"richText":null,"renderedFileInfo":null,"shortPath":null,"symbolsEnabled":true,"tabSize":8,"topBannersInfo":{"overridingGlobalFundingFile":false,"globalPreferredFundingPath":null,"showInvalidCitationWarning":false,"citationHelpUrl":"https://docs.github.com/github/creating-cloning-and-archiving-repositories/creating-a-repository-on-github/about-citation-files","actionsOnboardingTip":null},"truncated":false,"viewable":true,"workflowRedirectUrl":null,"symbols":{"timed_out":false,"not_analyzed":true,"symbols":[]}},"copilotInfo":null,"copilotAccessAllowed":false,"blame":{"ranges":{"1":{"start":1,"oldStart":1,"end":4,"oldEnd":4,"commitOid":"bf9bd59c013ec9c2f799421ec1a410c5d35b8c38","reblamePath":null},"5":{"start":5,"oldStart":5,"end":5,"oldEnd":5,"commitOid":"2f59284971514085f815fcdd225fad911ef29445","reblamePath":"sdl2-config.cmake.in"},"6":{"start":6,"oldStart":6,"end":10,"oldEnd":10,"commitOid":"bf9bd59c013ec9c2f799421ec1a410c5d35b8c38","reblamePath":null},"11":{"start":11,"oldStart":11,"end":11,"oldEnd":11,"commitOid":"5c1ab40302f0689a3a26e0bc5dab28669de8ce20","reblamePath":"sdl2-config.cmake.in"}},"commits":{"bf9bd59c013ec9c2f799421ec1a410c5d35b8c38":{"oid":"bf9bd59c013ec9c2f799421ec1a410c5d35b8c38","message":"Fixed bug 2464 - Configure a sdl2-config.cmake.in together with sdl2.pc.in\n\nLeonardo\n\nDespite having a CMakeLists.txt file, SDL2 seems to be mainly built using the autotools system by package-managers. It is nice to have it but it is only useful if you are building SDL2 by yourself.\n\nPeople that want to use CMake to find their already-installed SDL2 are using a FindSDL2.cmake module based on the old FindSDL.cmake. This is not deprecated but it is discouraged by the CMake devs (see http://www.cmake.org/Bug/view.php?id=14826), as these modules needs maintainers to be included in the official CMake installation.\n\nTo fix that, SDL and its accompanying libraries could configure a simple sdl2-config.cmake file, much like it does with sdl2.pc.in. We don't need to configure a full sdl2-config.cmake as in this post, http://forums.libsdl.org/viewtopic.php?t=10068&sid=ccf8abbf0d73fb03ae9cded991e60959 (because it depends on it being built with CMake). Using something as simple as http://www.cmake.org/Wiki/CMake/Tutorials/Packaging#Package_Configuration_Files is deemed enough. Here is another: http://quickgit.kde.org/?p=prison.git&a=blob&f=lib%2Fprison%2FPrisonConfig.cmake.in","shortMessageHtmlLink":"Fixed bug 2464 - Configure a sdl2-config.cmake.in together with sdl2.…","authorAvatarUrl":"https://avatars.githubusercontent.com/u/2100061?s=80&v=4","committerName":"Sam Lantinga","committerEmail":"slouken@libsdl.org","committedDate":"2015-06-29T22:24:00.000-07:00","firstParentOid":"f1b7a8434f1d8a00d350cb7833ee5cb6f3e8f6a2"},"2f59284971514085f815fcdd225fad911ef29445":{"oid":"2f59284971514085f815fcdd225fad911ef29445","message":"Fixed typo in sdl2-config.cmake.in (thanks, Rafal!).\n\nPartially fixes Bugzilla #3208.","shortMessageHtmlLink":"Fixed typo in sdl2-config.cmake.in (thanks, Rafal!).","authorAvatarUrl":"https://avatars.githubusercontent.com/u/673562?s=80&v=4","committerName":"Ryan C. Gordon","committerEmail":"icculus@icculus.org","committedDate":"2015-12-28T23:29:11.000-05:00","firstParentOid":"f893ce3d3ed4b9d27e48cda6fe7f8c61bacba7bd"},"5c1ab40302f0689a3a26e0bc5dab28669de8ce20":{"oid":"5c1ab40302f0689a3a26e0bc5dab28669de8ce20","message":"Applied Ubuntu patch bug_822210_fix_sdl2-config.cmake_whitespace.patch","shortMessageHtmlLink":"Applied Ubuntu patch bug_822210_fix_sdl2-config.cmake_whitespace.patch","authorAvatarUrl":"https://avatars.githubusercontent.com/u/2100061?s=80&v=4","committerName":"Sam Lantinga","committerEmail":"slouken@libsdl.org","committedDate":"2016-10-07T15:08:37.000-07:00","firstParentOid":"f6a280ab7f24cb40f41f78b71d1968a26bdcb2ed"}},"ignoreRevs":{"path":".git-blame-ignore-revs","present":false,"timedOut":null}},"csrf_tokens":{"/libsdl-org/SDL/branches":{"post":"G3O2_URR4VZJdJAK0BBO9MNDwzDwOmcA_eGGUNwII1cSFtRyvfJE-lwy0ZqWfQtgaECMIU1lvyqZCWanWgRELA"},"/repos/preferences":{"post":"zfrZORTWKUK_3sRHHI9e7YkEfWP3xw25zm6_jOeiq70MqWThMth7mRGFDen0hAGtgMl7w888Qszu7icHU5-GiQ"}}},"title":"Blaming SDL/sdl2-config.cmake.in at 104c9541d9510c2bb2b9aa478e90c54e6230dd8d · libsdl-org/SDL"}