From: Gregor Jasny Date: Mon, 24 Oct 2022 14:51:54 +0000 (+0200) Subject: build: Apply standard settings and warnings to lockfile test (#1195) X-Git-Tag: v4.7.2~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=24dc4c99a37a8f016504cdbedf2bfdd707fe30dd;p=thirdparty%2Fccache.git 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. --- 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)