Warning, /frameworks/threadweaver/examples/HelloInternet/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 # Project name 0002 project(HelloInternet) 0003 find_package(Qt${QT_MAJOR_VERSION} COMPONENTS Core Network Xml Widgets REQUIRED) 0004 # Find includes in corresponding build directories 0005 set(CMAKE_INCLUDE_CURRENT_DIR ON) 0006 # Instruct CMake to run moc automatically when needed 0007 set(CMAKE_AUTOMOC ON) 0008 set(CMAKE_AUTORCC ON) 0009 # Add the SequenceDemo executable and link the ThreadWeaver framework: 0010 add_executable(ThreadWeaver_HelloInternet 0011 main.cpp 0012 MainWidget.cpp 0013 ViewController.cpp 0014 HelloInternetResources.qrc 0015 ) 0016 0017 kde_enable_exceptions() 0018 target_link_libraries(ThreadWeaver_HelloInternet Qt${QT_MAJOR_VERSION}::Network Qt${QT_MAJOR_VERSION}::Xml Qt${QT_MAJOR_VERSION}::Widgets KF5::ThreadWeaver) 0019