Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support relative and absolute libdir/incluedir in pkg-config generation #1330

Merged
merged 1 commit into from
Feb 7, 2023

Conversation

cary-ilm
Copy link
Member

@cary-ilm cary-ilm commented Feb 5, 2023

During pkg-config generation, CMake now uses
CMAKE_INSTALL_LIBDIR/CMAKE_INSTALL_INCLUDEDIR instead of the _FULL_ variables, and does not prepend the prefix if they are absolute paths, which makes it possible to support relative installation paths.

See AcademySoftwareFoundation/Imath#281 and AcademySoftwareFoundation/Imath#291

Signed-off-by: Cary Phillips cary@ilm.com

During pkg-config generation, CMake now uses
`CMAKE_INSTALL_LIBDIR`/`CMAKE_INSTALL_INCLUDEDIR` instead of the
`_FULL_` variables, and does not prepend the prefix if they are absolute
paths, which makes it possible to support relative installation paths.

See AcademySoftwareFoundation/Imath#281 and
AcademySoftwareFoundation/Imath#291

Signed-off-by: Cary Phillips <cary@ilm.com>
@cary-ilm cary-ilm merged commit fb61ea4 into AcademySoftwareFoundation:main Feb 7, 2023
cary-ilm added a commit to cary-ilm/openexr that referenced this pull request Mar 3, 2023
…on (AcademySoftwareFoundation#1330)

During pkg-config generation, CMake now uses
`CMAKE_INSTALL_LIBDIR`/`CMAKE_INSTALL_INCLUDEDIR` instead of the
`_FULL_` variables, and does not prepend the prefix if they are absolute
paths, which makes it possible to support relative installation paths.

See AcademySoftwareFoundation/Imath#281 and
AcademySoftwareFoundation/Imath#291

Signed-off-by: Cary Phillips <cary@ilm.com>
cary-ilm added a commit that referenced this pull request Mar 5, 2023
…on (#1330)

During pkg-config generation, CMake now uses
`CMAKE_INSTALL_LIBDIR`/`CMAKE_INSTALL_INCLUDEDIR` instead of the
`_FULL_` variables, and does not prepend the prefix if they are absolute
paths, which makes it possible to support relative installation paths.

See AcademySoftwareFoundation/Imath#281 and
AcademySoftwareFoundation/Imath#291

Signed-off-by: Cary Phillips <cary@ilm.com>
@cary-ilm cary-ilm added the v3.1.6 label Jul 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants