build: Check package version in find_package (#643)

Modify the `ftxui-config.cmake.in` file so that it includes
`ftxui-targets.cmake`. This causes cmake to check the version is
compatible with what the user requested.

This patch also includes additional minor changes.

Co-authored-by: ArthurSonzogni <sonzogniarthur@gmail.com>
This commit is contained in:
Henrik Gaßmann
2023-05-19 17:50:23 +02:00
committed by ArthurSonzogni
parent 22ebc823c9
commit e2aff66b98
3 changed files with 60 additions and 33 deletions

View File

@@ -1,7 +1,13 @@
Changelog
=========
4.1.0
4.1.1
-----
### Build
- Check version compatibility when using cmake find_package()
4.1.0 (abandonned)
-----
### Component