D26670: ki18n_wrap_ui: error when file doesn't exist
David Redondo
noreply at phabricator.kde.org
Fri Jan 17 19:55:02 GMT 2020
davidre added a comment.
Output of
cmake_minimum_required(VERSION 2.8.12)
find_package(ECM)
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${ECM_MODULE_PATH})
find_package(Qt5Widgets)
find_package(KF5I18n)
ki18n_wrap_ui(var test.ui)
ki18n_wrap_ui(var test.uia)
ki18n_wrap_ui(${CMAKE_CURRENT_SOURCE_DIR}/test.ui)
ki18n_wrap_ui(/not/existing/path)
with existing test.ui next to CMakeLists.txt:
[...]
CMake Error at /home/david/kde/lib/x86_64-linux-gnu/cmake/KF5I18n/KF5I18nMacros.cmake:55 (message):
Cannot find ui file:
test.ui
Call Stack (most recent call first):
CMakeLists.txt:7 (ki18n_wrap_ui)
CMake Error at /home/david/kde/lib/x86_64-linux-gnu/cmake/KF5I18n/KF5I18nMacros.cmake:55 (message):
Cannot find ui file:
test.uia
Call Stack (most recent call first):
CMakeLists.txt:8 (ki18n_wrap_ui)
-- Configuring incomplete, errors occurred!
See also "/tmp/test/build/CMakeFiles/CMakeOutput.log".
REPOSITORY
R249 KI18n
REVISION DETAIL
https://phabricator.kde.org/D26670
To: davidre, #framework_syntax_highlighting, #localization, #build_system
Cc: cullmann, ngraham, kossebau, kde-frameworks-devel, LeGast00n, GB_2, michaelh, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-buildsystem/attachments/20200117/93a87fbf/attachment-0001.html>
More information about the Kde-buildsystem
mailing list