Using header only

This commit is contained in:
WolverinDEV 2019-11-24 22:27:58 +01:00
parent b9e2da8bb4
commit 6d527883ea

View File

@ -41,8 +41,8 @@ if(NOT TEASPEAK_SERVER)
if(WIN32)
add_definitions(-DWINDOWS) #Required for ThreadPool
endif()
find_package(spdlog CONFIG REQUIRED)
link_libraries(spdlog::spdlog) #Its a header only lib so we should be fine :)
find_package(spdlog REQUIRED)
link_libraries(spdlog::spdlog_header_only) #Its a header only lib so we should be fine :)
add_definitions(-DNO_OPEN_SSL)
add_definitions(-D_HAS_STD_BYTE)