Skip to content

Commit c66dfc3

Browse files
Lighto-KuJohnson-zs
authored andcommitted
chore: add cmake option
add compile option for diskencrypt service Log: add cmake option
1 parent dedd1a3 commit c66dfc3

3 files changed

Lines changed: 4 additions & 2 deletions

File tree

CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,5 +116,7 @@ else()
116116
message("COMPILE ON v20")
117117
endif()
118118

119+
option(OPT_ENABLE_OLDENCRYPTPLUGIN OFF)
120+
119121
add_subdirectory(src)
120122

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
if (COMPLIE_ON_V20)
1+
if (OPT_ENABLE_OLDENCRYPTPLUGIN)
22
add_subdirectory(daemonplugin-file-encrypt)
33
endif()

src/service/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
if (COMPLIE_ON_V23)
1+
if (NOT OPT_ENABLE_OLDENCRYPTPLUGIN)
22
add_subdirectory(diskencrypt)
33
endif()

0 commit comments

Comments
 (0)