Igor Sirotin aefa2b9f48
fix(StatusQ): StatusQ is QML module (#10207)
* StatusQ QML module
* qzxing is static lib again
* updated StatusQ resources
* fixed Emoji lookup
* added display to tests-imports ci
2023-04-14 11:18:56 +03:00

27 lines
603 B
CMake

project(SanityChecker)
find_package(Qt5
COMPONENTS Core Quick
REQUIRED)
add_executable(${PROJECT_NAME}
main.cpp
)
add_dependencies(${PROJECT_NAME}
StatusQ)
target_link_libraries(${PROJECT_NAME} PRIVATE
Qt5::Core
Qt5::Quick)
target_compile_definitions(${PROJECT_NAME} PRIVATE
STATUSQ_MODULE_PATH="${STATUSQ_MODULE_PATH}"
STATUSQ_MODULE_IMPORT_PATH="${STATUSQ_MODULE_IMPORT_PATH}"
)
if (STATUSQ_SHADOW_BUILD)
target_compile_definitions(${PROJECT_NAME} PRIVATE
STATUSQ_SHADOW_BUILD
)
endif ()