René's URL Explorer Experiment


Title: pkg-config file is broken when CMAKE_INSTALL_{INCLUDE,LIB}DIR is absolute · Issue #336 · tinyobjloader/tinyobjloader · GitHub

Open Graph Title: pkg-config file is broken when CMAKE_INSTALL_{INCLUDE,LIB}DIR is absolute · Issue #336 · tinyobjloader/tinyobjloader

X Title: pkg-config file is broken when CMAKE_INSTALL_{INCLUDE,LIB}DIR is absolute · Issue #336 · tinyobjloader/tinyobjloader

Description: Describe the issue As per title: tinyobjloader.pc.in has prefix=@CMAKE_INSTALL_PREFIX@ exec_prefix=${prefix} libdir=${prefix}/@TINYOBJLOADER_LIBRARY_DIR@ includedir=${prefix}/@TINYOBJLOADER_INCLUDE_DIR@ where TINYOBJLOADER_{LIBRARY,INCLU...

Open Graph Description: Describe the issue As per title: tinyobjloader.pc.in has prefix=@CMAKE_INSTALL_PREFIX@ exec_prefix=${prefix} libdir=${prefix}/@TINYOBJLOADER_LIBRARY_DIR@ includedir=${prefix}/@TINYOBJLOADER_INCLUDE...

X Description: Describe the issue As per title: tinyobjloader.pc.in has prefix=@CMAKE_INSTALL_PREFIX@ exec_prefix=${prefix} libdir=${prefix}/@TINYOBJLOADER_LIBRARY_DIR@ includedir=${prefix}/@TINYOBJLOADER_INCLUDE...

Opengraph URL: https://github.com/tinyobjloader/tinyobjloader/issues/336

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"pkg-config file is broken when CMAKE_INSTALL_{INCLUDE,LIB}DIR is absolute","articleBody":"**Describe the issue**\r\n\r\nAs per title: `tinyobjloader.pc.in` has\r\n```\r\nprefix=@CMAKE_INSTALL_PREFIX@\r\nexec_prefix=${prefix}\r\nlibdir=${prefix}/@TINYOBJLOADER_LIBRARY_DIR@\r\nincludedir=${prefix}/@TINYOBJLOADER_INCLUDE_DIR@\r\n```\r\nwhere `TINYOBJLOADER_{LIBRARY,INCLUDE}_DIR` is set in `CMakeLists.txt` to the value of `CMAKE_INSTALL_{LIB,INCLUDE}DIR`, so it is unable to handle absolute paths being passed in the latter (unusual but valid per [documentation of GNUInstallDirs](https://cmake.org/cmake/help/latest/module/GNUInstallDirs.html#result-variables)). This leads to broken .pc files on NixOS in particular.\r\n\r\nSee “[Concatenating paths when building pkg-config files](https://github.com/jtojnar/cmake-snips#concatenating-paths-when-building-pkg-config-files)” for a thorough discussion of the problem and a suggested fix, or [KDE’s extra-cmake-modules](https://invent.kde.org/frameworks/extra-cmake-modules/-/blob/master/modules/ECMGeneratePkgConfigFile.cmake#L166) for a simpler approach.\r\n\r\n**Environment**\r\n - TinyObjLoader version: 1.0.7 (inspection confirms issue exists on master as well)\r\n - OS: `Linux localhost 5.15.36 #1-NixOS SMP Wed Apr 27 12:39:02 UTC 2022 x86_64 GNU/Linux`\r\n - Compiler: CMake 3.22.3, GCC 11.2.0, GNU binutils 2.38","author":{"url":"https://github.com/alexshpilkin","@type":"Person","name":"alexshpilkin"},"datePublished":"2022-05-18T20:57:42.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/336/tinyobjloader/issues/336"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:f804e22d-fe6f-0b22-7915-07c8476c017b
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idBEE2:1A99C4:9AB41D:D701AC:6965000C
html-safe-nonce8de4cd2e972ccd7006ccc0cacd821e6dab17b0c9b6e03fb18579e89e302d0015
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRUUyOjFBOTlDNDo5QUI0MUQ6RDcwMUFDOjY5NjUwMDBDIiwidmlzaXRvcl9pZCI6IjcxNjA5NzYzNTcwOTEyNDYwOTIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacc854780db495157b7b9fe1db7f59d22f3b4578dfe3ec19caf9be2eef4629ee16
hovercard-subject-tagissue:1240517748
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/tinyobjloader/tinyobjloader/336/issue_layout
twitter:imagehttps://opengraph.githubassets.com/50fad088cf8b20f9e44853be996146dc1f53c657d814228d1a7891a4605ac063/tinyobjloader/tinyobjloader/issues/336
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/50fad088cf8b20f9e44853be996146dc1f53c657d814228d1a7891a4605ac063/tinyobjloader/tinyobjloader/issues/336
og:image:altDescribe the issue As per title: tinyobjloader.pc.in has prefix=@CMAKE_INSTALL_PREFIX@ exec_prefix=${prefix} libdir=${prefix}/@TINYOBJLOADER_LIBRARY_DIR@ includedir=${prefix}/@TINYOBJLOADER_INCLUDE...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamealexshpilkin
hostnamegithub.com
expected-hostnamegithub.com
None409eef8307c7b2774ef22b51d9c9bea7aae00b7c42378f10825b0de95e35b3d8
turbo-cache-controlno-preview
go-importgithub.com/tinyobjloader/tinyobjloader git https://github.com/tinyobjloader/tinyobjloader.git
octolytics-dimension-user_id61176939
octolytics-dimension-user_logintinyobjloader
octolytics-dimension-repository_id5421296
octolytics-dimension-repository_nwotinyobjloader/tinyobjloader
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id5421296
octolytics-dimension-repository_network_root_nwotinyobjloader/tinyobjloader
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release0f2726e2829a4524ee45b32f55dabe51189d33b0
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/tinyobjloader/tinyobjloader/issues/336#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ftinyobjloader%2Ftinyobjloader%2Fissues%2F336
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ftinyobjloader%2Ftinyobjloader%2Fissues%2F336
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=tinyobjloader%2Ftinyobjloader
Reloadhttps://github.com/tinyobjloader/tinyobjloader/issues/336
Reloadhttps://github.com/tinyobjloader/tinyobjloader/issues/336
Reloadhttps://github.com/tinyobjloader/tinyobjloader/issues/336
tinyobjloader https://github.com/tinyobjloader
tinyobjloaderhttps://github.com/tinyobjloader/tinyobjloader
Please reload this pagehttps://github.com/tinyobjloader/tinyobjloader/issues/336
Notifications https://github.com/login?return_to=%2Ftinyobjloader%2Ftinyobjloader
Fork 637 https://github.com/login?return_to=%2Ftinyobjloader%2Ftinyobjloader
Star 3.7k https://github.com/login?return_to=%2Ftinyobjloader%2Ftinyobjloader
Code https://github.com/tinyobjloader/tinyobjloader
Issues 19 https://github.com/tinyobjloader/tinyobjloader/issues
Pull requests 3 https://github.com/tinyobjloader/tinyobjloader/pulls
Actions https://github.com/tinyobjloader/tinyobjloader/actions
Projects 0 https://github.com/tinyobjloader/tinyobjloader/projects
Wiki https://github.com/tinyobjloader/tinyobjloader/wiki
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/tinyobjloader/tinyobjloader/security
Please reload this pagehttps://github.com/tinyobjloader/tinyobjloader/issues/336
Insights https://github.com/tinyobjloader/tinyobjloader/pulse
Code https://github.com/tinyobjloader/tinyobjloader
Issues https://github.com/tinyobjloader/tinyobjloader/issues
Pull requests https://github.com/tinyobjloader/tinyobjloader/pulls
Actions https://github.com/tinyobjloader/tinyobjloader/actions
Projects https://github.com/tinyobjloader/tinyobjloader/projects
Wiki https://github.com/tinyobjloader/tinyobjloader/wiki
Security https://github.com/tinyobjloader/tinyobjloader/security
Insights https://github.com/tinyobjloader/tinyobjloader/pulse
New issuehttps://github.com/login?return_to=https://github.com/tinyobjloader/tinyobjloader/issues/336
New issuehttps://github.com/login?return_to=https://github.com/tinyobjloader/tinyobjloader/issues/336
pkg-config file is broken when CMAKE_INSTALL_{INCLUDE,LIB}DIR is absolutehttps://github.com/tinyobjloader/tinyobjloader/issues/336#top
wontfixhttps://github.com/tinyobjloader/tinyobjloader/issues?q=state%3Aopen%20label%3A%22wontfix%22
https://github.com/alexshpilkin
https://github.com/alexshpilkin
alexshpilkinhttps://github.com/alexshpilkin
on May 18, 2022https://github.com/tinyobjloader/tinyobjloader/issues/336#issue-1240517748
documentation of GNUInstallDirshttps://cmake.org/cmake/help/latest/module/GNUInstallDirs.html#result-variables
Concatenating paths when building pkg-config fileshttps://github.com/jtojnar/cmake-snips#concatenating-paths-when-building-pkg-config-files
KDE’s extra-cmake-moduleshttps://invent.kde.org/frameworks/extra-cmake-modules/-/blob/master/modules/ECMGeneratePkgConfigFile.cmake#L166
wontfixhttps://github.com/tinyobjloader/tinyobjloader/issues?q=state%3Aopen%20label%3A%22wontfix%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.