mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-22 14:15:38 +00:00
(Haiku) Added support for the PDF viewer
This commit is contained in:
parent
7992dbcf01
commit
51cb73b987
|
@ -715,26 +715,19 @@ if(COMPILE_LOCALIZATIONS)
|
|||
add_subdirectory(locale)
|
||||
endif()
|
||||
|
||||
if(NOT HAIKU)
|
||||
add_subdirectory(es-pdf-converter)
|
||||
endif()
|
||||
add_subdirectory(es-pdf-converter)
|
||||
add_subdirectory(external)
|
||||
add_subdirectory(es-core)
|
||||
add_subdirectory(es-app)
|
||||
|
||||
# Make sure that es-pdf-convert is built first, and then that rlottie is built before es-core.
|
||||
# Also set lottie2gif to not be built.
|
||||
if(NOT HAIKU)
|
||||
add_dependencies(lunasvg es-pdf-convert)
|
||||
endif()
|
||||
add_dependencies(lunasvg es-pdf-convert)
|
||||
|
||||
if(COMPILE_LOCALIZATIONS)
|
||||
if(NOT HAIKU)
|
||||
add_dependencies(es-pdf-convert localization)
|
||||
else()
|
||||
add_dependencies(lunasvg localization)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
add_dependencies(es-core rlottie)
|
||||
|
||||
# Set lottie2gif to not be built.
|
||||
set_target_properties(lottie2gif PROPERTIES EXCLUDE_FROM_ALL 1 EXCLUDE_FROM_DEFAULT_BUILD 1)
|
||||
|
|
|
@ -273,9 +273,7 @@ elseif(APPLE)
|
|||
install(DIRECTORY ${CMAKE_SOURCE_DIR}/licenses DESTINATION ../Resources)
|
||||
elseif(NOT ANDROID)
|
||||
install(TARGETS es-de RUNTIME DESTINATION ${CMAKE_INSTALL_PREFIX}/bin)
|
||||
if(NOT HAIKU)
|
||||
install(TARGETS es-pdf-convert RUNTIME DESTINATION ${CMAKE_INSTALL_PREFIX}/bin)
|
||||
endif()
|
||||
if(CMAKE_SYSTEM_NAME MATCHES Linux OR CMAKE_SYSTEM_NAME MATCHES FreeBSD)
|
||||
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/assets/es-de.6.gz
|
||||
DESTINATION ${CMAKE_INSTALL_PREFIX}/share/man/man6)
|
||||
|
|
Loading…
Reference in a new issue