summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorngkaho1234 <ngkaho1234@gmail.com>2016-01-29 00:18:58 +0800
committerngkaho1234 <ngkaho1234@gmail.com>2016-01-29 16:25:37 +0800
commit9b40d089d6cf5912b558dd3e0ca1a246baa6750a (patch)
treef3bcf31bf1b251fca8c24d0dab9016b6350ac701 /include
parenta45154a49b743eba4669442e6993c50583329d99 (diff)
CMake: now ext4_config.h will be automatically generated.
Diffstat (limited to 'include')
-rw-r--r--include/ext4_config.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/ext4_config.h b/include/ext4_config.h
index 3d856eb..0fc06cd 100644
--- a/include/ext4_config.h
+++ b/include/ext4_config.h
@@ -41,8 +41,8 @@
extern "C" {
#endif
-#ifdef CONFIG_HAVE_OWN_CFG
-#include <config.h>
+#if !CONFIG_USE_DEFAULT_CFG
+#include "generated/ext4_config.h"
#endif
/*****************************************************************************/