From 1f74a6f1c64e15e2dde15343f80d363c1373ce8f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrius=20=C5=A0tikonas?= Date: Tue, 13 Jan 2015 17:43:53 +0000 Subject: [PATCH] Add Qtcore to CmakeLists.txt --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index b5b9f0a..5828d86 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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) \ No newline at end of file +target_link_libraries(s20 Qt5::Network)