Merge pull request #73 from z3ntu/bionic_-_qdbusxml2cpp
Don't fail silently when qdbusxml2cpp is missing
commitde5cb1c8f3ef0f5d9be0c903b4e450303f6b844f
authorMarius Gripsgard <marius@ubports.com>
dateWed 3 Oct 2018, 16:23 (8 years ago)
parentfdf505045a80b1
tests/CMakeLists.txt+3
@@ -133,6 +133,9 @@ else()
133133 FIND_PROGRAM(QDBUSXML2CPP_EXECUTABLE qdbusxml2cpp)
134134endif()
135135
136+if(NOT QDBUSXML2CPP_EXECUTABLE)
137+ message(FATAL_ERROR "qdbusxml2cpp not found")
138+endif()
136139
137140install(DIRECTORY data graphics
138141 DESTINATION "${SHELL_APP_DIR}/tests"