mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 22:48:55 +02:00
36 lines
1.1 KiB
Plaintext
36 lines
1.1 KiB
Plaintext
From 205ecbbb8e559613f851591bef1d8f2b5c2c0ffd Mon Sep 17 00:00:00 2001
|
|
From: Gerasim Troeglazov <3dEyes@gmail.com>
|
|
Date: Sun, 19 Apr 2020 16:34:03 +1000
|
|
Subject: Fix build for Haiku
|
|
|
|
|
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index 36ac273..33954d9 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -178,7 +178,7 @@ if(BUILD_TESTING)
|
|
endif()
|
|
|
|
if(KF5DocTools_FOUND)
|
|
- add_subdirectory(doc)
|
|
+# add_subdirectory(doc)
|
|
endif()
|
|
|
|
include(OkularConfigureChecks.cmake)
|
|
diff --git a/generators/comicbook/CMakeLists.txt b/generators/comicbook/CMakeLists.txt
|
|
index 9a07c71..3f4862c 100644
|
|
--- a/generators/comicbook/CMakeLists.txt
|
|
+++ b/generators/comicbook/CMakeLists.txt
|
|
@@ -19,7 +19,7 @@ target_link_libraries(okular_comicbook okularcore KF5::KIOCore KF5::I18n KF5::Ar
|
|
|
|
okular_add_generator(okularGenerator_comicbook generator_comicbook.cpp)
|
|
target_link_libraries(okularGenerator_comicbook okular_comicbook)
|
|
-if (UNIX AND NOT ANDROID)
|
|
+if (UNIX AND NOT ANDROID AND NOT HAIKU)
|
|
find_package(KF5Pty REQUIRED)
|
|
target_compile_definitions(okular_comicbook PRIVATE -DWITH_KPTY=1)
|
|
target_link_libraries(okular_comicbook KF5::Pty)
|
|
--
|
|
2.26.0
|
|
|