Skip to content

Commit 4da2773

Browse files
v1.47.1: fix header-only deps handling in run (#344)
1 parent 523a4cd commit 4da2773

File tree

3 files changed

+33
-2
lines changed

3 files changed

+33
-2
lines changed

CHANGELOG.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,37 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
88
---
99

1010
## [Unreleased]
11+
## [v1.47.1]
12+
13+
### CLI
14+
15+
**Fix header-only dependency handling in `vix run`**
16+
17+
- Fixed incorrect linking of header-only dependencies in auto-generated CMake
18+
19+
The CLI no longer attempts to link all inferred dependency aliases blindly.
20+
21+
- Detect compiled dependencies using `CMakeLists.txt`
22+
23+
Only dependencies that define build targets are treated as compiled libraries.
24+
25+
- Link only valid CMake targets
26+
27+
Uses `if(TARGET ...)` to ensure safe and correct linking during build.
28+
29+
- Avoid linking header-only libraries
30+
31+
Header-only packages without CMake targets are no longer passed to
32+
`target_link_libraries`, preventing build errors.
33+
34+
- Fixed runtime error
35+
```cmake
36+
target_link_libraries(... gk::pdf) target not found
37+
```
38+
This restores full support for header-only packages while maintaining
39+
correct behavior for compiled dependencies.
40+
41+
1142
## [v1.47.0]
1243

1344
### CLI

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<h1>Vix.cpp</h1>
66

77
<p>
8-
<a href="https://x.com/vixcpp">
8+
<a href="https://x.com/vix_cpp">
99
<img src="https://img.shields.io/badge/X-Follow-black?logo=x" alt="X" />
1010
</a>
1111
<a href="https://www.youtube.com/@vixcpp">

modules/cli

0 commit comments

Comments
 (0)