← All tasks
cppendless-sky/endless-sky #10519Not a task: not reproduced

CMake fails looking for GLEW::glew

envgap__endless-sky__endless-sky-10519

01 / FAILURE SIGNATURE

As reported upstream

The link interface of target "ExternalLibraries" contains:
Not a benchmark task.
  • In a clean container the reported failure did not reproduce, or the known fix did not make the project run.

02 / ENVIRONMENT RECIPE

Base commit
03409c39c03beec5a6800c3055c4283cce94a89f
Manifest
CMakeLists.txt
Reproduce
Awaiting issue-specific recipe
Run under trace
Awaiting a meaningful runtime command

03 / ORIGINAL ISSUE TEXT

endless-sky/endless-sky #10519 · read the original issue
### Is there an existing issue for this?

- [X] I have searched the existing issues

### Describe the bug

Trying to run cmake on debian bookworm, it tells me it can't find `GLEW::glew` when using VC_PKG

### Steps to Reproduce

Run `cmake .. -DCMAKE_BUILD_TYPE=Debug -DES_USE_VCPKG=1



### Expected Behavior

cmake finishes.

### Screenshots

```

CMake Error at CMakeLists.txt:173 (target_link_libraries):

  The link interface of target "ExternalLibraries" contains:



    GLEW::glew



  but the target was not found.  Possible reasons include:



    * There is a typo in the target name.

    * A find_package call is missing for an IMPORTED target.

    * An ALIAS target is missing.

```

### Link to save file

_No response_

### Operating System

debian bullseye

### Game Source

Built from source

### Game Version

v0.10.9

### Additional Information

Running with `-DES_USE_VCPKG=0` works fine. Its only when using VCPKG that it breaks. 
Continue on GitHub ↗

04 / LABELS

Labels from the report text only; not yet run

No supported category has been assigned.

Label rules and the text that matched
[]