Skip to content

Commit 12a0e41

Browse files
nirvn3nids
authored andcommittedMay 19, 2021
Nyall and Denis know better, add the flag :)
1 parent 50339f1 commit 12a0e41

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed
 

‎CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,8 @@ if(WITH_CORE)
144144

145145
set (WITH_GUI TRUE CACHE BOOL "Determines whether QGIS GUI library (and everything built on top of it) should be built")
146146

147+
set (WITH_AUTH TRUE CACHE BOOL "Determines whether QGIS authentication methods should be built")
148+
147149
set (WITH_ANALYSIS TRUE CACHE BOOL "Determines whether QGIS analysis library should be built")
148150

149151
set (WITH_DESKTOP TRUE CACHE BOOL "Determines whether QGIS desktop should be built")

‎src/CMakeLists.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
add_subdirectory(native)
22
add_subdirectory(core)
3-
add_subdirectory(auth)
3+
4+
if (WITH_AUTH)
5+
add_subdirectory(auth)
6+
endif()
47

58
if (WITH_ANALYSIS)
69
add_subdirectory(analysis)

‎tests/src/CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,9 @@ if (ENABLE_TESTS)
4040
add_subdirectory(analysis)
4141
add_subdirectory(geometry_checker)
4242
endif()
43-
add_subdirectory(auth)
43+
if (WITH_AUTH)
44+
add_subdirectory(auth)
45+
endif()
4446
add_subdirectory(providers)
4547
if (WITH_DESKTOP)
4648
add_subdirectory(app)

0 commit comments

Comments
 (0)
Please sign in to comment.