diff --git a/CMakeLists.txt b/CMakeLists.txt index ae0cbdd..3d465b9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)