From 5072ab0fbeda4939d7c96c3db07aaf27ca056592 Mon Sep 17 00:00:00 2001 From: Oguzhan INAN Date: Thu, 8 Mar 2018 15:29:28 +0300 Subject: [PATCH] added network module --- stacer-core/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/stacer-core/CMakeLists.txt b/stacer-core/CMakeLists.txt index 39118733..36d10d2f 100644 --- a/stacer-core/CMakeLists.txt +++ b/stacer-core/CMakeLists.txt @@ -12,5 +12,7 @@ file(GLOB_RECURSE ${PROJECT_NAME}_srcs "${CMAKE_CURRENT_SOURCE_DIR}/**.cpp") add_definitions(-DSTACERCORE_LIBRARY) +find_package(Qt5 COMPONENTS Core Network REQUIRED) + add_library(${PROJECT_NAME} STATIC ${${PROJECT_NAME}_srcs}) -target_link_libraries(${PROJECT_NAME} Qt5::Core) +target_link_libraries(${PROJECT_NAME} Qt5::Core Qt5::Network)