Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Build is broken with CMAKE_INCLUDE_CURRENT_DIR=ON

Open
#104 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
cmake, cpp
Domain
build-system

Research direction

Reproduce the failure from the repository build directory with cmake -DCMAKE_INCLUDE_CURRENT_DIR=ON -G Ninja .. followed by ninja. Inspect the CMake configuration and include paths involved in the failed build, then verify that the same commands complete successfully when the fix is applied.

Written by the indexing model from the issue text.

Description

It is often times that other cmake projects make the current project's directory included.
If such a project fetches Level Zero repo then its build is broken.
To reproduce:

$ cmake -DCMAKE_INCLUDE_CURRENT_DIR=ON -G Ninja ..
$ ninja

Dominant language
C++
Stars
335
Forks
140
Avg merge
12h 32m
Merged PRs (30d)
5

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from oneapi-src/level-zero

All issues in oneapi-src/level-zero

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.