mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-06-10 15:19:09 +02:00
qt6 3rdparty : * pdfium (replace poppler), can't be unbundled * qtsingle, not ported to qt6 * encodingprober -> libchardet not in tree * hunspell, unbundled * synctex, unbundled with texcore required otherwise iuse : webengine for internal browser add optfeature for tools (even ghostscript-gpl) and engines rm readme.gentoo_create_doc, html_manual is available from the menu drop amd64-linux and x86-linux Closes: https://bugs.gentoo.org/926654 Signed-off-by: Nicolas PARLANT <nicolas.parlant@parhuet.fr> Part-of: https://github.com/gentoo/gentoo/pull/41454 Closes: https://github.com/gentoo/gentoo/pull/41454 Signed-off-by: Sam James <sam@gentoo.org>
16 lines
533 B
Diff
16 lines
533 B
Diff
Find system libs instead of 3rd libs
|
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index 7f32e01..b4afe45 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -1462,5 +1462,8 @@ target_link_libraries(${PROJECT_NAME} PRIVATE
|
|
)
|
|
endif()
|
|
|
|
-
|
|
-
|
|
+find_package(PkgConfig REQUIRED)
|
|
+pkg_check_modules(hunspell REQUIRED IMPORTED_TARGET hunspell)
|
|
+target_link_libraries(${PROJECT_NAME} PRIVATE PkgConfig::hunspell)
|
|
+pkg_check_modules(synctex REQUIRED IMPORTED_TARGET synctex)
|
|
+target_link_libraries(${PROJECT_NAME} PRIVATE PkgConfig::synctex)
|