-
Notifications
You must be signed in to change notification settings - Fork 115
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- adjust patches. They depend on organicmaps/organicmaps#7982 organicmaps/organicmaps#6310 - fix dependencies. OrganicMaps has more external libs now. Moreover all dynamically linked libraries were checked and added as deps. - don't install test targets Signed-off-by: Gerion Entrup <[email protected]>
- Loading branch information
Showing
5 changed files
with
74 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
diff --git a/3party/CMakeLists.txt b/3party/CMakeLists.txt | ||
index d4996e302d..953787945b 100644 | ||
--- a/3party/CMakeLists.txt | ||
+++ b/3party/CMakeLists.txt | ||
@@ -41,9 +41,6 @@ if (NOT WITH_SYSTEM_PROVIDED_3PARTY) | ||
# Add pugixml library. | ||
add_subdirectory(pugixml) | ||
|
||
- # Add protobuf library. | ||
- add_subdirectory(protobuf) | ||
- | ||
if (NOT PLATFORM_LINUX) | ||
add_subdirectory(freetype) | ||
add_subdirectory(icu) | ||
@@ -55,6 +52,9 @@ if (NOT WITH_SYSTEM_PROVIDED_3PARTY) | ||
target_include_directories(utf8cpp INTERFACE "${OMIM_ROOT}/3party/utfcpp/source") | ||
endif() | ||
|
||
+# Add protobuf library. | ||
+add_subdirectory(protobuf) | ||
+ | ||
add_subdirectory(agg) | ||
add_subdirectory(bsdiff-courgette) | ||
add_subdirectory(liboauthcpp) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
commit 905b161487865a200ce4a43fb2c1d96ecb38e102 | ||
Author: Gerion Entrup <[email protected]> | ||
Date: Thu Apr 25 10:14:41 2024 +0200 | ||
|
||
CMakeLists: import jansson with pkgconfig | ||
|
||
Upstream jansson offers compiling with autotools and CMake. | ||
If it is compiled with autotools (the recommended way) it does only | ||
provide a pkgconfig file and not a cmake file. | ||
This is also the way most distributions provide jansson, so this commit | ||
changes the behavior to use pkgconfig, too. | ||
|
||
Signed-off-by: Gerion Entrup <[email protected]> | ||
|
||
diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
index 1902f0e618..975a402f8a 100644 | ||
--- a/CMakeLists.txt | ||
+++ b/CMakeLists.txt | ||
@@ -320,8 +320,11 @@ if (WITH_SYSTEM_PROVIDED_3PARTY) | ||
set(GFLAGS_USE_TARGET_NAMESPACE ON) | ||
find_package(gflags REQUIRED) | ||
|
||
+ find_package(PkgConfig) | ||
+ pkg_check_modules(jansson REQUIRED IMPORTED_TARGET jansson) | ||
+ add_library(jansson::jansson ALIAS PkgConfig::jansson) | ||
+ | ||
find_package(expat CONFIG REQUIRED) | ||
- find_package(jansson CONFIG REQUIRED) | ||
find_package(pugixml REQUIRED) | ||
find_package(utf8cpp REQUIRED) | ||
endif() |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters