From 3869788b668bf78ef18e1c47fc828e25aa1df5d2 Mon Sep 17 00:00:00 2001
From: WolverinDEV <git@teaspeak.de>
Date: Fri, 24 Jan 2020 17:09:34 +0100
Subject: [PATCH] Updates

---
 license/CMakeLists.txt | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/license/CMakeLists.txt b/license/CMakeLists.txt
index b6a8b3e..b60525e 100644
--- a/license/CMakeLists.txt
+++ b/license/CMakeLists.txt
@@ -28,7 +28,7 @@ protobuf_generate_cpp(PROTO_SRCS PROTO_HDRS packets/LicenseRequest.proto packets
 
 #The actual librarie
 add_library(TeaLicenseHelper STATIC ${LICENCE_SOURCE_FILES} ${PROTO_SRCS} ${PROTO_HDRS})
-target_link_libraries(TeaLicenseHelper PUBLIC TeaSpeak)
+target_link_libraries(TeaLicenseHelper PUBLIC TeaSpeak libevent::core libevent::pthreads)
 
 
 #The license server
@@ -53,8 +53,8 @@ target_link_libraries(TeaLicenseServer
 		${LIBRARY_PATH_YAML}
 		pthread
 		stdc++fs
-		${LIBEVENT_PATH}/libevent.a
-		${LIBEVENT_PATH}/libevent_pthreads.a
+        libevent::core
+        libevent::pthreads
 		${LIBRARY_PATH_OPUS}
 		${LIBRARY_PATH_JSON}
 		${LIBRARY_PATH_PROTOBUF}