mirror of
https://github.com/KingDuckZ/dindexer.git
synced 2025-08-07 13:29:49 +00:00
Make main dindexer show options used to build.
This commit is contained in:
parent
05979e24a2
commit
c409a3e0a2
7 changed files with 127 additions and 23 deletions
7
cmake/Modules/WithMediaAutodetect.cmake
Normal file
7
cmake/Modules/WithMediaAutodetect.cmake
Normal file
|
@ -0,0 +1,7 @@
|
|||
if (DINDEXER_WITH_MEDIA_AUTODETECT)
|
||||
find_package(blkid)
|
||||
if (NOT BLKID_FOUND)
|
||||
message(STATUS "libblkid not found, media autodetection will be disabled")
|
||||
set(DINDEXER_WITH_MEDIA_AUTODETECT OFF)
|
||||
endif()
|
||||
endif()
|
Loading…
Add table
Add a link
Reference in a new issue