]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
build: Apply standard settings and warnings to lockfile test (#1195)
authorGregor Jasny <gjasny@googlemail.com>
Mon, 24 Oct 2022 14:51:54 +0000 (16:51 +0200)
committerGitHub <noreply@github.com>
Mon, 24 Oct 2022 14:51:54 +0000 (16:51 +0200)
This ensures the required include of `config.h` to get `mode_t` defined on Windows.

src/CMakeLists.txt

index 7ae93c38fb628ba49fbf887d87864b49285d2cc8..79f0fd1c3eae5c6beef1769a6ebc34957766d180 100644 (file)
@@ -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)