1
0
Fork 0
mirror of https://github.com/KingDuckZ/dindexer.git synced 2025-08-14 14:49:48 +00:00

Make main dindexer show options used to build.

This commit is contained in:
King_DuckZ 2015-12-26 14:51:49 +00:00
parent 05979e24a2
commit c409a3e0a2
7 changed files with 127 additions and 23 deletions

View file

@ -1,13 +1,6 @@
project(${bare_name}-scan CXX C)
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()
include(WithMediaAutodetect)
find_package(Magic REQUIRED)
add_executable(${PROJECT_NAME}