Skip to content

CMakeLists: add missing include dirs#2202

Merged
jan-cerny merged 2 commits intoOpenSCAP:mainfrom
chouquette:add_missing_includes
Mar 10, 2025
Merged

CMakeLists: add missing include dirs#2202
jan-cerny merged 2 commits intoOpenSCAP:mainfrom
chouquette:add_missing_includes

Conversation

@chouquette
Copy link
Copy Markdown
Contributor

This PR adds some more include dirs, in case the dependencies aren't all found in the same folder as the other ones

CMakeLists.txt Outdated
Comment on lines +575 to +580
${LIBXSLT_INCLUDE_DIR}
${RPM_INCLUDE_DIRS}
${GCRYPT_INCLUDE_DIRS}
${BLKID_INCLUDE_DIRS}
${POPT_INCLUDE_DIRS}
${SELINUX_INCLUDE_DIRS}
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It probably needs to be wrapped by a condition so that it doesn't add include directories if the libraries aren't found. See the output of the CI on Windows.

@chouquette chouquette force-pushed the add_missing_includes branch from 33e479d to 91c76e5 Compare March 5, 2025 15:49
@jan-cerny jan-cerny self-assigned this Mar 10, 2025
@jan-cerny jan-cerny added this to the 1.4.2 milestone Mar 10, 2025
Copy link
Copy Markdown
Member

@jan-cerny jan-cerny left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your contribution!

@jan-cerny jan-cerny merged commit 4dd1b8d into OpenSCAP:main Mar 10, 2025
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants