etl/cmake/etlConfig.cmake.in
Robin Mueller 39156c918b Extended CMake installation handling (#523)
* updated the version handling

- Introduces a new version.txt file
- This file is parsed by CMake to determine the current version

* assign version in project call

* use version variable

* Meson update

1. Minor fix for GCC build
2. Use external version file which can be used by CMake as well

* get version from git tag now

* ci/cd broke..

* maybe this solves the error

* updated workflow files

* one last test

* remove git describe call

* extended CMake installation handling

* only write version file if possible

* read version.txt as fallback

* missing version.txt arg
2022-04-08 09:37:21 +02:00

5 lines
125 B
CMake

@PACKAGE_INIT@
include("${CMAKE_CURRENT_LIST_DIR}/@PROJECT_NAME@Targets.cmake")
check_required_components("@PROJECT_NAME@")