Add Qtcore to CmakeLists.txt

This commit is contained in:
Andrius Štikonas 2015-01-13 17:43:53 +00:00
parent 216ac17338
commit 1f74a6f1c6
1 changed files with 2 additions and 2 deletions

View File

@ -8,10 +8,10 @@ set(CMAKE_INCLUDE_CURRENT_DIR ON)
SET(CMAKE_CXX_FLAGS "-std=gnu++11")
# Find the QtWidgets library
find_package(Qt5Network)
find_package(Qt5 REQUIRED Core Network)
# Tell CMake to create the helloworld executable
add_executable(s20 s20.cpp)
# Use the Widgets module from Qt 5.
target_link_libraries(s20 Qt5::Network)
target_link_libraries(s20 Qt5::Network)