Closed neheb closed 1 year ago
Maybe the latter is fixed by https://github.com/nemtrif/utfcpp/pull/101
Other fixed by https://github.com/nemtrif/utfcpp/pull/105
At this point I am seriously considering removing this CMake nonsense, but in the meantime if someone else can confirm there is a problem and #105 fixes it, I'll take the pull request.
Which nonsense?
The CMake files should be cleaned up FWIW. tests/CMakeLists.txt should be all using a loop probably.
edit: meson uses pkgconfig first and cmake config second. The former works better. Not implemented here.
ping
problem one is that in the generated Targets.cmake file, warnings that should not be exported are:
problem two is that on both fedora and debian, the generated ConfigVersion.cmake specifies that it's only for 32-bit, which is nonsense:
this prevents usage with find_package("utf8cpp")