summaryrefslogtreecommitdiffhomepage
path: root/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 01ed810..8e4308d 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -59,4 +59,10 @@ ENDIF()
SET(LIBRARIES "")
+IF(FS_SUPPORT)
+ SET(LIBRARIES ${LIBRARIES} fs_lib)
+ ADD_LIBRARY(fs_lib MODULE lib/fs.c)
+ SET_TARGET_PROPERTIES(fs_lib PROPERTIES OUTPUT_NAME fs PREFIX "")
+ENDIF()
+
INSTALL(TARGETS utpl RUNTIME DESTINATION bin)