diff options
| author | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
|---|---|---|
| committer | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
| commit | 54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch) | |
| tree | d915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/libosmscout/protobuf-linkage.patch | |
Diffstat (limited to 'vcpkg/ports/libosmscout/protobuf-linkage.patch')
| -rw-r--r-- | vcpkg/ports/libosmscout/protobuf-linkage.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/vcpkg/ports/libosmscout/protobuf-linkage.patch b/vcpkg/ports/libosmscout/protobuf-linkage.patch new file mode 100644 index 0000000..f80afd8 --- /dev/null +++ b/vcpkg/ports/libosmscout/protobuf-linkage.patch @@ -0,0 +1,15 @@ +diff --git a/libosmscout-import/CMakeLists.txt b/libosmscout-import/CMakeLists.txt
+index 36fa3585c..404f61aff 100644
+--- a/libosmscout-import/CMakeLists.txt
++++ b/libosmscout-import/CMakeLists.txt
+@@ -146,8 +146,8 @@ endif()
+
+ if (PROTOBUF_FOUND)
+ target_include_directories(OSMScoutImport PRIVATE ${Protobuf_INCLUDE_DIRS} ${CMAKE_CURRENT_BINARY_DIR})
+- target_link_libraries(OSMScoutImport ${Protobuf_LIBRARIES})
+- if(WIN32)
++ target_link_libraries(OSMScoutImport protobuf::libprotobuf)
++ if(0)
+ target_compile_definitions(OSMScoutImport PRIVATE -DPROTOBUF_USE_DLLS)
+ endif()
+ target_compile_definitions(OSMScoutImport PRIVATE -DOSMSCOUT_IMPORT_CMAKE_BUILD)
|