From 24dc4c99a37a8f016504cdbedf2bfdd707fe30dd Mon Sep 17 00:00:00 2001 From: Gregor Jasny Date: Mon, 24 Oct 2022 16:51:54 +0200 Subject: [PATCH] build: Apply standard settings and warnings to lockfile test (#1195) This ensures the required include of `config.h` to get `mode_t` defined on Windows. --- src/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 7ae93c38f..79f0fd1c3 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -70,7 +70,7 @@ if(REDIS_STORAGE_BACKEND) endif() add_executable(test-lockfile test_lockfile.cpp) -target_link_libraries(test-lockfile PRIVATE ccache_framework) +target_link_libraries(test-lockfile PRIVATE standard_settings standard_warnings ccache_framework) add_subdirectory(core) add_subdirectory(storage) -- 2.47.2