Warning, /frameworks/karchive/examples/helloworld/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 # For more information see the CMake documentation: 0002 # https://cmake.org/documentation/ 0003 # https://community.kde.org/Guidelines_and_HOWTOs/CMake 0004 0005 # Project name 0006 project(HelloWorld) 0007 0008 # Look for the KArchive module 0009 find_package(KF5Archive ${KF_VERSION} REQUIRED) 0010 0011 find_package(Qt${QT_MAJOR_VERSION}Core REQUIRED) 0012 0013 add_executable(helloworld main.cpp) 0014 0015 # Link our executable with the KArchive library 0016 target_link_libraries(helloworld KF5::Archive Qt${QT_MAJOR_VERSION}::Core)