Warning, /utilities/ark/plugins/cli7zplugin/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 ########### next target ###############
0002 
0003 set(kerfuffle_cli7z_SRCS cliplugin.cpp)
0004 
0005 ecm_qt_declare_logging_category(kerfuffle_cli7z_SRCS
0006                                 HEADER ark_debug.h
0007                                 IDENTIFIER ARK
0008                                 CATEGORY_NAME ark.cli7z DESCRIPTION "Ark 7z" EXPORT ARK)
0009 
0010 configure_file(
0011     ${CMAKE_CURRENT_SOURCE_DIR}/kerfuffle_cli7z.json.cmake
0012     ${CMAKE_CURRENT_BINARY_DIR}/kerfuffle_cli7z.json)
0013 
0014 kerfuffle_parse_json_mimetypes(${CMAKE_CURRENT_BINARY_DIR}/kerfuffle_cli7z.json)
0015 set(SUPPORTED_ARK_MIMETYPES "${SUPPORTED_ARK_MIMETYPES}${PLUGIN_SUPPORTED_MIMETYPES}" PARENT_SCOPE)
0016 
0017 kerfuffle_add_plugin(kerfuffle_cli7z ${kerfuffle_cli7z_SRCS})
0018 
0019 set(INSTALLED_KERFUFFLE_PLUGINS "${INSTALLED_KERFUFFLE_PLUGINS}kerfuffle_cli7z;" PARENT_SCOPE)
0020 
0021 find_program(7ZIP 7z)
0022 if(7ZIP)
0023     message(STATUS "Found 7-Zip executable: ${7ZIP}")
0024 else()
0025     message(WARNING "Could not find the 7z executable. Ark won't be able to handle the 7z archive format.")
0026 endif()