KhronosGroup / KhronosGroup/OpenCL-Guide
Can't build using CMake on Windows
- Dominant language
- CMake
- Stars
- 711
- Forks
- 70
- PR merge metrics
- No merged PRs in 30d
Description
Following the Get Started on Windows I got this while configuring with CMake 3.26.1
> Selecting Windows SDK version 10.0.22000.0 to target Windows 10.0.19045.
> Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
> CMake Error at cmake/Dependencies/glm/glm.cmake:19 (add_library):
> The target name "glm::glm" is reserved or not valid for certain CMake
> features, such as generator expressions, and may result in undefined
> behavior.
> Call Stack (most recent call first):
> cmake/Dependencies.cmake:10 (include)
> CMakeLists.txt:49 (include)
>
>
> CMake Error at cmake/Dependencies/glm/glm.cmake:20 (target_include_directories):
> Cannot specify include directories for target "glm::glm" which is not built
> by this project.
> Call Stack (most recent call first):
> cmake/Dependencies.cmake:10 (include)
> CMakeLists.txt:49 (include)
>
Contributor guide
Research direction
Start by reproducing the Windows configuration with CMake 3.26.1 while reading cmake/Dependencies/glm/glm.cmake. Trace how it is included from cmake/Dependencies.cmake and CMakeLists.txt, then verify that configuration completes without the reported glm target errors; the missing Doxygen message is also part of the reported setup.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cmake
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100