Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
"DVI support in Okular"
)
+option(
+ OKULAR_FORCE_DRM
+ "Forces okular to check for DRM to decide if you can copy/print protected pdf. (default=no)"
+ OFF
+)
+kde4_bool_to_01(OKULAR_FORCE_DRM _OKULAR_FORCE_DRM)
+
+configure_file(
+ ${CMAKE_CURRENT_SOURCE_DIR}/config-okular.h.cmake
+ ${CMAKE_CURRENT_BINARY_DIR}/config-okular.h
+)
+
add_subdirectory( ui )
add_subdirectory( shell )
add_subdirectory( generators )
add_subdirectory( tests )
endif()
-include(OkularConfigureChecks.cmake)
-
set(MATH_LIB m)
# okularcore
+++ /dev/null
-
-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
-)
-