Skip to content

fix the include directories for the plugin_test#279

Merged
Kerilk merged 1 commit into
KhronosGroup:mainfrom
bashbaug:fix-plugin-test-include-dirs
May 14, 2026
Merged

fix the include directories for the plugin_test#279
Kerilk merged 1 commit into
KhronosGroup:mainfrom
bashbaug:fix-plugin-test-include-dirs

Conversation

@bashbaug
Copy link
Copy Markdown
Contributor

We can't use the CMake variable ${CMAKE_BINARY_DIR} to find the icd_cmake_config.h file generated for the ICD loader build when building the "plugin_test", because it may not match the ICD loader ${CMAKE_CURRENT_BINARY_DIR} when the ICD loader is used as a sub-project, say by the OpenCL SDK.

Instead of trying to find the directory used previously, just re-generate the file for the "plugin_test", and use the re-generated file instead.

@bashbaug bashbaug requested a review from Kerilk May 14, 2026 05:23
@Kerilk Kerilk merged commit 9f26060 into KhronosGroup:main May 14, 2026
96 of 103 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