diff --git a/CMakeLists.txt b/CMakeLists.txt index 845bd87..93f12b9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -9,7 +9,6 @@ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -static -static-libgcc -static-libstdc++ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -static -static-libgcc -static-libstdc++") find_package(Threads REQUIRED) -find_package(GTest CONFIG REQUIRED) include(cmake/CPM.cmake) CPMAddPackage( @@ -29,6 +28,7 @@ CPMAddPackage( OPTIONS "SPDLOG_BUILD_PIC ON" ) + file(GLOB_RECURSE SOURCE_FILES src/*.cpp src/*.cc) add_executable(server ${SOURCE_FILES}) target_link_libraries(server PRIVATE diff --git a/vcpkg-configuration.json b/vcpkg-configuration.json index 16b40d6..d380701 100644 --- a/vcpkg-configuration.json +++ b/vcpkg-configuration.json @@ -1,7 +1,7 @@ { "default-registry": { "kind": "git", - "baseline": "c4af3593e1f1aa9e14a560a09e45ea2cb0dfd74d", + "baseline": "b1e15efef6758eaa0beb0a8732cfa66f6a68a81d", "repository": "https://github.com/microsoft/vcpkg" }, "registries": [ diff --git a/vcpkg.json b/vcpkg.json index cdfa620..56e0e7a 100644 --- a/vcpkg.json +++ b/vcpkg.json @@ -1,7 +1,6 @@ { "dependencies": [ - "eigen3", - "gtest", - "pthreads" + "pthreads", + "spdlog" ] }