Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cmake_minimum_required(VERSION 3.6)
- project(second_progect)
- set(CMAKE_CXX_STANDARD 11)
- set(CMAKE_PREFIX_PATH "/opt/Qt/5.8/gcc_64/")
- set(CMAKE_AUTOMOC ON)
- set(CMAKE_AUTOUIC ON)
- set(SOURCE_FILES main.cpp)
- add_executable(second_progect ${SOURCE_FILES})
- find_package( Qt5Widgets REQUIRED )
- find_package( Qt5Gui REQUIRED )
- target_link_libraries(second_progect Qt5::Core Qt5::Widgets ${Boost_LIBRARIES} -lboost_system)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement