summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt7
-rw-r--r--fs_test/lwext4_server.c2
2 files changed, 2 insertions, 7 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 71eb24d..eec0993 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -2,6 +2,7 @@ project(lwext4 C)
cmake_minimum_required(VERSION 3.4)
+include_directories(include)
include_directories(${PROJECT_BINARY_DIR}/include)
include_directories(blockdev/filedev)
include_directories(blockdev/filedev_win)
@@ -84,12 +85,6 @@ else()
set_target_properties(lwext4 PROPERTIES COMPILE_FLAGS "-Wall -Wextra -pedantic")
endif()
-#Config file generation
-file(
- COPY include
- DESTINATION .
-)
-
#DISTRIBUTION
set(CPACK_PACKAGE_VERSION_MAJOR "${VERSION_MAJOR}")
set(CPACK_PACKAGE_VERSION_MINOR "${VERSION_MINOR}")
diff --git a/fs_test/lwext4_server.c b/fs_test/lwext4_server.c
index 2c923ba..b65ef3d 100644
--- a/fs_test/lwext4_server.c
+++ b/fs_test/lwext4_server.c
@@ -626,7 +626,7 @@ static int file_read(const char *p)
return rc;
}
-static int file_write(const const char *p)
+static int file_write(const char *p)
{
int fid = MAX_FILES;
int d;