Provide WITHOUT_BOTAN and WITHOUT_SYSTEMD cmake flags
Use them to build without linking to them, even if they are on your system
This commit is contained in:
+6
-2
@@ -21,8 +21,12 @@ find_package(EXPAT REQUIRED)
|
||||
find_package(Iconv REQUIRED)
|
||||
find_package(Libuuid REQUIRED)
|
||||
find_package(Libidn)
|
||||
find_package(SystemdDaemon)
|
||||
find_package(Botan)
|
||||
if(NOT WITHOUT_SYSTEMD)
|
||||
find_package(SystemdDaemon)
|
||||
endif()
|
||||
if(NOT WITHOUT_BOTAN)
|
||||
find_package(Botan)
|
||||
endif()
|
||||
|
||||
#
|
||||
## Get the software version
|
||||
|
||||
Reference in New Issue
Block a user