Skip to content

configure/CMakeLists.txt: Avoid passing SYSTEM as link directory

Thomas Braun requested to merge fix-invalid-link-directory into main

According to 1 the link_directories command does not support SYSTEM. Only include_directories 2 supports that.

Bug introduced in 57b7119f (CMake: Allow to supply dependent libraries via pkg-config only, 2023-01-31).

Close #1073 (closed)

@tjuerges Does that fix it?

Merge request reports