summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/osgearth-1-fixes.patch19
-rw-r--r--src/osgearth.mk3
2 files changed, 2 insertions, 20 deletions
diff --git a/src/osgearth-1-fixes.patch b/src/osgearth-1-fixes.patch
index ef745f1..72f2282 100644
--- a/src/osgearth-1-fixes.patch
+++ b/src/osgearth-1-fixes.patch
@@ -42,22 +42,3 @@ index 1111111..2222222 100644
ADD_SUBDIRECTORY( tests )
ENDIF()
-
-From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
-From: Boris Pek <tehnick-8@yandex.ru>
-Date: Thu, 22 Mar 2018 22:53:10 +0300
-Subject: [PATCH 2/2] Fixed linking of osgEarthSymbology with geos when build
- as shared library
-
-
-diff --git a/src/osgEarthSymbology/CMakeLists.txt b/src/osgEarthSymbology/CMakeLists.txt
-index 1111111..2222222 100644
---- a/src/osgEarthSymbology/CMakeLists.txt
-+++ b/src/osgEarthSymbology/CMakeLists.txt
-@@ -1,5 +1,6 @@
- IF (DYNAMIC_OSGEARTH)
- ADD_DEFINITIONS(-DOSGEARTHSYMBOLOGY_LIBRARY)
-+ ADD_DEFINITIONS(-DGEOS_INLINE)
- ELSE (DYNAMIC_OSGEARTH)
- ADD_DEFINITIONS(-DOSGEARTHSYMBOLOGY_LIBRARY_STATIC)
- ENDIF(DYNAMIC_OSGEARTH)
diff --git a/src/osgearth.mk b/src/osgearth.mk
index 17b3c54..9755419 100644
--- a/src/osgearth.mk
+++ b/src/osgearth.mk
@@ -15,7 +15,8 @@ define $(PKG)_BUILD
-DWITH_EXTERNAL_TINYXML=OFF \
-DBUILD_OSGEARTH_EXAMPLES=OFF \
-DBUILD_APPLICATIONS=OFF \
- -DBUILD_TESTS=OFF
+ -DBUILD_TESTS=OFF \
+ -DCMAKE_CXX_FLAGS='-DGEOS_INLINE=1'
$(MAKE) -C '$(BUILD_DIR)' -j '$(JOBS)' VERBOSE=1
$(MAKE) -C '$(BUILD_DIR)' -j 1 install