1
by Philip Muškovac
Import upstream version 4.6.90+repack |
1 |
option( |
2 |
OKULAR_FORCE_DRM
|
|
3 |
"Forces okular to check for DRM to decide if you can copy/print protected pdf. (default=no)"
|
|
4 |
OFF
|
|
5 |
)
|
|
6 |
if (OKULAR_FORCE_DRM) |
|
7 |
set(_OKULAR_FORCE_DRM 1) |
|
8 |
else (OKULAR_FORCE_DRM) |
|
9 |
set(_OKULAR_FORCE_DRM 0) |
|
10 |
endif (OKULAR_FORCE_DRM) |
|
11 |
||
12 |
# at the end, output the configuration
|
|
13 |
configure_file( |
|
14 |
${CMAKE_CURRENT_SOURCE_DIR}/config-okular.h.cmake |
|
15 |
${CMAKE_CURRENT_BINARY_DIR}/config-okular.h |
|
16 |
)
|
|
17 |
||
18 |