mirror of
https://invent.kde.org/graphics/okular
synced 2024-10-30 01:38:07 +00:00
only abort if SANE is required
svn path=/trunk/KDE/kdegraphics/cmake/modules/; revision=675900
This commit is contained in:
parent
dfed92ff84
commit
1918602496
1 changed files with 2 additions and 2 deletions
|
@ -39,9 +39,9 @@ if (SANE_FOUND)
|
||||||
message(STATUS "Found sane: ${SANE_LIBRARIES}")
|
message(STATUS "Found sane: ${SANE_LIBRARIES}")
|
||||||
endif (NOT Sane_FIND_QUIETLY)
|
endif (NOT Sane_FIND_QUIETLY)
|
||||||
else (SANE_FOUND)
|
else (SANE_FOUND)
|
||||||
if (NOT Sane_FIND_REQUIRED)
|
if (Sane_FIND_REQUIRED)
|
||||||
message(FATAL_ERROR "Did not find SANE")
|
message(FATAL_ERROR "Did not find SANE")
|
||||||
endif (NOT Sane_FIND_REQUIRED)
|
endif (Sane_FIND_REQUIRED)
|
||||||
endif (SANE_FOUND)
|
endif (SANE_FOUND)
|
||||||
|
|
||||||
MARK_AS_ADVANCED(SANE_INCLUDE_DIR SANE_LIBRARIES SANE_LIBRARY)
|
MARK_AS_ADVANCED(SANE_INCLUDE_DIR SANE_LIBRARIES SANE_LIBRARY)
|
||||||
|
|
Loading…
Reference in a new issue