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}