diff --git a/CHANGELOG.md b/CHANGELOG.md index 063606f..0bc50ed 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,37 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 --- ## [Unreleased] +## [v1.47.1] + +### CLI + +**Fix header-only dependency handling in `vix run`** + +- Fixed incorrect linking of header-only dependencies in auto-generated CMake + + The CLI no longer attempts to link all inferred dependency aliases blindly. + +- Detect compiled dependencies using `CMakeLists.txt` + + Only dependencies that define build targets are treated as compiled libraries. + +- Link only valid CMake targets + + Uses `if(TARGET ...)` to ensure safe and correct linking during build. + +- Avoid linking header-only libraries + + Header-only packages without CMake targets are no longer passed to + `target_link_libraries`, preventing build errors. + +- Fixed runtime error +```cmake +target_link_libraries(... gk::pdf) target not found +``` +This restores full support for header-only packages while maintaining +correct behavior for compiled dependencies. + + ## [v1.47.0] ### CLI diff --git a/README.md b/README.md index dc728ee..7ca0738 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@

Vix.cpp

- + X diff --git a/modules/cli b/modules/cli index 58c52f1..71bd238 160000 --- a/modules/cli +++ b/modules/cli @@ -1 +1 @@ -Subproject commit 58c52f1310efe3e6069164da956746bf815a1c96 +Subproject commit 71bd2389ca21f741a16ce4cc29407ed03b1ed2d8