From 74ed9d2e72ed2d47d5246b18ec2924e090e94d83 Mon Sep 17 00:00:00 2001 From: Fujimoto Seiji Date: Thu, 27 Dec 2018 17:08:28 +0900 Subject: [PATCH] build: also don't build "cio_utils.c" if CIO_BACKEND_FILESYSTEM=Off This module contains a couple of functions for manipulating the file system. We don't need them except the platform does support the file system backend. Signed-off-by: Fujimoto Seiji --- src/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 28d753e..0c1faad 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -5,7 +5,6 @@ set(src cio_chunk.c cio_meta.c cio_scan.c - cio_utils.c cio_stream.c chunkio.c ) @@ -14,6 +13,7 @@ if(CIO_BACKEND_FILESYSTEM) set(src ${src} cio_file.c + cio_utils.c ) endif()