patch [#28947] Patches for #28943 (Support for XDG Base Directory Specification)
[blender.git] / source / blender / blenlib / CMakeLists.txt
index ea9f72c..5d54ffb 100644 (file)
@@ -1,4 +1,3 @@
-# $Id$
 # ***** BEGIN GPL LICENSE BLOCK *****
 #
 # This program is free software; you can redistribute it and/or
@@ -99,6 +98,7 @@ set(SRC
        BLI_edgehash.h
        BLI_editVert.h
        BLI_fileops.h
+       BLI_fileops_types.h
        BLI_fnmatch.h
        BLI_ghash.h
        BLI_graph.h
@@ -125,8 +125,6 @@ set(SRC
        BLI_rand.h
        BLI_rect.h
        BLI_scanfill.h
-       BLI_storage.h
-       BLI_storage_types.h
        BLI_string.h
        BLI_string_utf8.h
        BLI_threads.h
@@ -150,4 +148,8 @@ if(WITH_OPENMP)
        add_definitions(-DPARALLEL=1)
 endif()
 
+if(WITH_XDG_USER_DIRS)
+       add_definitions(-DWITH_XDG_USER_DIRS)
+endif()
+
 blender_add_lib(bf_blenlib "${SRC}" "${INC}" "${INC_SYS}")