File fix_build.patch of Package mhogomchungu_NetworkAccessManager

---
 CMakeLists.txt |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Index: NetworkAccessManager-1.0.0/CMakeLists.txt
===================================================================
--- NetworkAccessManager-1.0.0.orig/CMakeLists.txt
+++ NetworkAccessManager-1.0.0/CMakeLists.txt
@@ -16,6 +16,7 @@ INCLUDE( GNUInstallDirs )
 INCLUDE( CMakeDependentOption )
 
 find_package( Qt5Core REQUIRED )
+find_package( Qt5Network REQUIRED )
 
 QT5_WRAP_CPP( MOC_LIBRARY network_access_manager.hpp )
 
@@ -29,7 +30,7 @@ else()
 	add_library( mhogomchungu_network STATIC ${MOC_LIBRARY} )
 endif()
 
-target_link_libraries( mhogomchungu_network ${Qt5Core_LIBRARIES} )
+target_link_libraries( mhogomchungu_network ${Qt5Core_LIBRARIES} ${Qt5Network_LIBRARIES} )
 
 if( WIN32 )
 	set_target_properties( mhogomchungu_network PROPERTIES COMPILE_FLAGS "-Wextra -Wall -s -pedantic " )
openSUSE Build Service is sponsored by