compile
[kdegraphics.git] / okular / OkularConfigureChecks.cmake
blob70fe8768c4c5b07c10cc06582c5779250fbf18ed
2 option(
3    OKULAR_FORCE_DRM
4    "Forces okular to check for DRM to decide if you can copy/print protected pdf. (default=no)"
5    OFF
7 if (OKULAR_FORCE_DRM)
8    set(_OKULAR_FORCE_DRM 1)
9 else (OKULAR_FORCE_DRM)
10    set(_OKULAR_FORCE_DRM 0)
11 endif (OKULAR_FORCE_DRM)
13 # at the end, output the configuration
14 configure_file(
15    ${CMAKE_CURRENT_SOURCE_DIR}/config-okular.h.cmake
16    ${CMAKE_CURRENT_BINARY_DIR}/config-okular.h