@@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.13)
2
2
3
3
set (FTPSRV_VERSION_MAJOR 1 )
4
4
set (FTPSRV_VERSION_MINOR 2 )
5
- set (FTPSRV_VERSION_PATCH 0 )
5
+ set (FTPSRV_VERSION_PATCH 1 )
6
6
set (FTPSRV_VERSION ${FTPSRV_VERSION_MAJOR} .${FTPSRV_VERSION_MINOR}.${FTPSRV_VERSION_PATCH} )
7
7
8
8
project (ftpsrv
@@ -209,6 +209,10 @@ if (FTPSRV_LIB_BUILD)
209
209
target_compile_definitions (ftpsrv PUBLIC FTP_VFS_HEADER= "${FTPSRV_LIB_VFS_CUSTOM} " )
210
210
endif ()
211
211
212
+ if (FTPSRV_LIB_CUSTOM_DEFINES )
213
+ target_compile_definitions (ftpsrv PUBLIC ${FTPSRV_LIB_CUSTOM_DEFINES} )
214
+ endif ()
215
+
212
216
ftp_set_options (ftpsrv
213
217
${FTPSRV_LIB_PATH_SIZE}
214
218
${FTPSRV_LIB_SESSIONS}
@@ -266,7 +270,7 @@ else()
266
270
${NX_SRC}
267
271
)
268
272
269
- target_compile_definitions (ftpexe PUBLIC
273
+ target_compile_definitions (ftpsrv PUBLIC
270
274
USE_VFS_SAVE=$<BOOL:${USE_VFS_SAVE}>
271
275
USE_VFS_STORAGE=$<BOOL:${USE_VFS_STORAGE}>
272
276
USE_VFS_GC=$<BOOL:${USE_VFS_GC}>
@@ -371,7 +375,7 @@ else()
371
375
ftp_add (sysftp )
372
376
target_link_libraries (sysftp PRIVATE ftpsrv_sysmod minIni )
373
377
374
- target_compile_definitions (ftpexe PUBLIC
378
+ target_compile_definitions (ftpsrv_sysmod PUBLIC
375
379
USE_VFS_SAVE=$<BOOL:${USE_VFS_SAVE}>
376
380
USE_VFS_STORAGE=$<BOOL:${USE_VFS_STORAGE}>
377
381
USE_VFS_GC=$<BOOL:${USE_VFS_GC}>
0 commit comments