Warning, /graphics/okular/OkularConfigureChecks.cmake is written in an unsupported language. File is not indexed.
0001
0002 option(
0003 OKULAR_FORCE_DRM
0004 "Forces okular to check for DRM to decide if you can copy/print protected pdf. (default=no)"
0005 OFF
0006 )
0007 if (OKULAR_FORCE_DRM)
0008 set(_OKULAR_FORCE_DRM 1)
0009 else (OKULAR_FORCE_DRM)
0010 set(_OKULAR_FORCE_DRM 0)
0011 endif (OKULAR_FORCE_DRM)
0012
0013 # Check whether malloc_trim(3) is supported.
0014 include(CheckSymbolExists)
0015 check_symbol_exists(malloc_trim "malloc.h" HAVE_MALLOC_TRIM)
0016
0017 # at the end, output the configuration
0018 configure_file(
0019 ${CMAKE_CURRENT_SOURCE_DIR}/config-okular.h.cmake
0020 ${CMAKE_CURRENT_BINARY_DIR}/config-okular.h
0021 )
0022