While running a CMake build, I get the following error:
[build] FAILED: src/App.pot
[build] cd <...> && /usr/bin/cmake -E env SOURCE_DATE_EPOCH=1500000000 TZ=UTC <...>/build/_deps/i18ncpp-build/merge/i18n-merge-pot --package=xyz --version= --output=App.pot <...>/build/src/CMakeFiles/App.dir/./app.cpp.o.poc <...>/build/src/CMakeFiles/App.dir/./appwindow.cpp.o.poc <...>/build/src/CMakeFiles/App.dir/./main.cpp.o.poc
[build] terminate called after throwing an instance of 'std::runtime_error'
[build] what(): Unable to open file
For linking details, I can provide the following of my CMakeLists.txt:
include(FetchContent)
FetchContent_Declare(
i18ncpp
GIT_REPOSITORY https://github.com/zauguin/i18n-cpp.git
GIT_TAG 41f4528
)
FetchContent_MakeAvailable(i18ncpp)
add_executable(App <...>)
<...>
target_use_i18n(App NODOMAIN)
Details about the system installation:
- Ubuntu 22.04.2 LTS
- GCC 12.1.0 x86_64-linux-gnu
- CMake 3.22.1
Some help would be appreciated @zauguin.
While running a CMake build, I get the following error:
For linking details, I can provide the following of my CMakeLists.txt:
Details about the system installation:
Some help would be appreciated @zauguin.