Advertisement
CK13

CMakeLists

Jul 14th, 2020
1,930
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. cmake_minimum_required(VERSION 3.5)
  2.  
  3. project(pluginindex LANGUAGES CXX)
  4.  
  5. set(CMAKE_INCLUDE_CURRENT_DIR ON)
  6.  
  7. set(CMAKE_AUTOUIC ON)
  8. set(CMAKE_AUTOMOC ON)
  9. set(CMAKE_AUTORCC ON)
  10.  
  11. set(CMAKE_CXX_STANDARD 11)
  12. set(CMAKE_CXX_STANDARD_REQUIRED ON)
  13.  
  14. find_package(Qt5 COMPONENTS Widgets REQUIRED)
  15. find_package(KF5Archive REQUIRED)
  16.  
  17. add_executable(pluginindex
  18.   main.cpp
  19. )
  20. target_link_libraries(pluginindex PRIVATE Qt5::Widgets KF5::Archive)
Advertisement
RAW Paste Data Copied
Advertisement