Using static libevent libraries

This commit is contained in:
WolverinDEV 2019-07-05 21:44:18 +02:00
parent 93cf160be3
commit 33f4da4fca

View File

@ -114,14 +114,13 @@ include_directories(${opus_INCLUDE_DIR})
find_package(spdlog REQUIRED)
message("Libraries: ${LIBEVENT_LIBRARIES}")
set(REQUIRED_LIBRARIES
${TeaSpeak_SharedLib_LIBRARIES_STATIC}
${TomCrypt_LIBRARIES_STATIC}
${TomMath_LIBRARIES_STATIC}
${LIBEVENT_LIBRARIES}
${LIBEVENT_STATIC_LIBRARIES}
${StringVariable_LIBRARIES_STATIC}
${DataPipes_LIBRARIES_STATIC} #Needs to be static because something causes ca bad function call when loaded in electron