We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4fb8e5f + a0fdea9 commit 9e74511Copy full SHA for 9e74511
options.cmake
@@ -49,6 +49,10 @@ OPTION(
49
"Build the Lucene++ documentation."
50
OFF)
51
52
+OPTION(
53
+ ENABLE_CONTRIB
54
+ "Enable building contrib library"
55
+ ON)
56
57
# documentation options
58
#========================================================================
src/CMakeLists.txt
@@ -1,8 +1,11 @@
1
2
add_subdirectory(core)
3
-add_subdirectory(contrib)
4
add_subdirectory(config)
5
+if(ENABLE_CONTRIB)
6
+ add_subdirectory(contrib)
7
+endif()
8
+
9
if(ENABLE_DEMO)
10
add_subdirectory(demo)
11
endif()
0 commit comments