mirror of
https://invent.kde.org/graphics/okular
synced 2024-11-05 18:34:53 +00:00
34ef597517
svn path=/trunk/KDE/kdegraphics/okular/; revision=741358
18 lines
420 B
CMake
18 lines
420 B
CMake
|
|
option(
|
|
OKULAR_FORCE_DRM
|
|
"Forces okular to check for DRM to decide if you can copy/print protected pdf. (default=no)"
|
|
OFF
|
|
)
|
|
if (OKULAR_FORCE_DRM)
|
|
set(_OKULAR_FORCE_DRM 1)
|
|
else (OKULAR_FORCE_DRM)
|
|
set(_OKULAR_FORCE_DRM 0)
|
|
endif (OKULAR_FORCE_DRM)
|
|
|
|
# at the end, output the configuration
|
|
configure_file(
|
|
${CMAKE_CURRENT_SOURCE_DIR}/config-okular.h.cmake
|
|
${CMAKE_CURRENT_BINARY_DIR}/config-okular.h
|
|
)
|
|
|