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

Possible anachronism in CMake `target_include_directories`

Open
#46 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

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

Research direction

Start at line 29 of CMakeLists.txt and reproduce the compile problem with CMake 3.10.2. Compare the ArrayFire::af and af forms using the linked CMake documentation and issue 15689. Done means the project compiles without requiring the reported workaround.

Written by the indexing model from the issue text.

Description

When trying to compile, line 29 of the CMake file was giving me trouble. Changing the included item from ArrayFire::af to af solved the issue. I'm using CMake 3.10.2

See also:

  1. https://cmake.org/cmake/help/latest/command/target_include_directories.html
  2. https://gitlab.kitware.com/cmake/cmake/issues/15689
Dominant language
C++
Stars
105
Forks
22
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

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 arrayfire/arrayfire-ml

All issues in arrayfire/arrayfire-ml

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.