diff --git a/CMakeLists.txt b/CMakeLists.txt index fedfb6c..103ada9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -95,19 +95,22 @@ set(PRJ_LIBRARIES protocol ${LUA_LIBRARIES} zstd::libzstd_static + Boost::thread + glm::glm ) # add dependency find_package calls and similar here find_package(fmt CONFIG REQUIRED) find_package(OpenSSL REQUIRED) find_package(doctest CONFIG REQUIRED) -find_package(Boost REQUIRED) +find_package(Boost REQUIRED COMPONENTS thread) find_package(httplib CONFIG REQUIRED) find_package(libzip CONFIG REQUIRED) find_package(RapidJSON CONFIG REQUIRED) find_package(sol2 CONFIG REQUIRED) find_package(toml11 CONFIG REQUIRED) find_package(zstd CONFIG REQUIRED) +find_package(glm CONFIG REQUIRED) include_directories(include) diff --git a/cmake/CompilerWarnings.cmake b/cmake/CompilerWarnings.cmake index c654ec0..fedf62e 100644 --- a/cmake/CompilerWarnings.cmake +++ b/cmake/CompilerWarnings.cmake @@ -72,6 +72,7 @@ function(set_project_warnings project_name) -Werror=strict-aliasing -fstrict-aliasing -Werror=missing-declarations -Werror=ctor-dtor-privacy + -Wno-missing-field-initializers -Wswitch-default -Werror=unused-result -Werror=implicit-fallthrough