summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Jasny <gjasny@googlemail.com>2022-10-24 16:51:54 +0200
committerGitHub <noreply@github.com>2022-10-24 16:51:54 +0200
commit24dc4c99a37a8f016504cdbedf2bfdd707fe30dd (patch)
tree2f8c09617565401c8c70a8f05750dbc1a6dec57b
parent60e897bf328c54e060add90f9b5899fd93dbd694 (diff)
downloadccache-24dc4c99a37a8f016504cdbedf2bfdd707fe30dd.tar.gz
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.
-rw-r--r--src/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 7ae93c38..79f0fd1c 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)