* [ISSUE] dbus pkg-config file sets incorrect include directory @ 2022-12-15 3:47 Owenlaw222 2022-12-15 7:12 ` [ISSUE] [CLOSED] " sgn 2022-12-15 7:12 ` sgn 0 siblings, 2 replies; 3+ messages in thread From: Owenlaw222 @ 2022-12-15 3:47 UTC (permalink / raw) To: ml [-- Attachment #1: Type: text/plain, Size: 1033 bytes --] New issue by Owenlaw222 on void-packages repository https://github.com/void-linux/void-packages/issues/41102 Description: ### Is this a new report? Yes ### System Info Void 6.0.12_1 x86_64 AuthenticAMD uptodate FFFFFFF ### Package(s) Affected dbus-devel-1.14.4_1 ### Does a report exist for this bug with the project's home (upstream) and/or another distro? _No response_ ### Expected behaviour When calling `pkg_check_modules(dbus REQUIRED "dbus-1")` in a cmake file the `dbus_INCLUDE_DIRS` variable should be set to `/usr/include/dbus-1.0/dbus` as that is where the headers are located. ### Actual behaviour When calling `pkg_check_modules(dbus REQUIRED "dbus-1")` the include directory variable is instead set to the path `/usr/include/dbus-1.0/usr/lib64/dbus-1.0/include` which does not exist. ### Steps to reproduce 1. Call `pkg_check_modules(dbus REQUIRED "dbus-1")` in a cmake file 2. Call `message(DEBUG ${dbus_INCLUDE_DIRS})` following the previous call 3. Note that the path which is returned is not valid ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [ISSUE] [CLOSED] dbus pkg-config file sets incorrect include directory 2022-12-15 3:47 [ISSUE] dbus pkg-config file sets incorrect include directory Owenlaw222 @ 2022-12-15 7:12 ` sgn 2022-12-15 7:12 ` sgn 1 sibling, 0 replies; 3+ messages in thread From: sgn @ 2022-12-15 7:12 UTC (permalink / raw) To: ml [-- Attachment #1: Type: text/plain, Size: 1036 bytes --] Closed issue by Owenlaw222 on void-packages repository https://github.com/void-linux/void-packages/issues/41102 Description: ### Is this a new report? Yes ### System Info Void 6.0.12_1 x86_64 AuthenticAMD uptodate FFFFFFF ### Package(s) Affected dbus-devel-1.14.4_1 ### Does a report exist for this bug with the project's home (upstream) and/or another distro? _No response_ ### Expected behaviour When calling `pkg_check_modules(dbus REQUIRED "dbus-1")` in a cmake file the `dbus_INCLUDE_DIRS` variable should be set to `/usr/include/dbus-1.0/dbus` as that is where the headers are located. ### Actual behaviour When calling `pkg_check_modules(dbus REQUIRED "dbus-1")` the include directory variable is instead set to the path `/usr/include/dbus-1.0/usr/lib64/dbus-1.0/include` which does not exist. ### Steps to reproduce 1. Call `pkg_check_modules(dbus REQUIRED "dbus-1")` in a cmake file 2. Call `message(DEBUG ${dbus_INCLUDE_DIRS})` following the previous call 3. Note that the path which is returned is not valid ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: dbus pkg-config file sets incorrect include directory 2022-12-15 3:47 [ISSUE] dbus pkg-config file sets incorrect include directory Owenlaw222 2022-12-15 7:12 ` [ISSUE] [CLOSED] " sgn @ 2022-12-15 7:12 ` sgn 1 sibling, 0 replies; 3+ messages in thread From: sgn @ 2022-12-15 7:12 UTC (permalink / raw) To: ml [-- Attachment #1: Type: text/plain, Size: 414 bytes --] New comment by sgn on void-packages repository https://github.com/void-linux/void-packages/issues/41102#issuecomment-1352647526 Comment: ```sh $ pkg-config --cflags dbus-1 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include $ grep dbus_INCLUDE_DIRS CMakeCache.txt dbus_INCLUDE_DIRS:INTERNAL=/usr/include/dbus-1.0;/usr/lib64/dbus-1.0/include ``` It's a list of 2 directories. Fix your `CMakeLists.txt` ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-12-15 7:12 UTC | newest] Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2022-12-15 3:47 [ISSUE] dbus pkg-config file sets incorrect include directory Owenlaw222 2022-12-15 7:12 ` [ISSUE] [CLOSED] " sgn 2022-12-15 7:12 ` sgn
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).