diff options
author | Boris Pek <tehnick-8@yandex.ru> | 2018-03-23 03:06:04 (GMT) |
---|---|---|
committer | Tony Theodore <tonyt@logyst.com> | 2018-03-26 12:55:53 (GMT) |
commit | a118ee0271f9bd4c6f0a0d42b981e7d12213799a (patch) | |
tree | c25a0e3d616c75b94ac7d767bd05dad6d71660d5 /src | |
parent | 5132a846692730308a36cbe3276cb6da520f13d3 (diff) | |
download | mxe-a118ee0271f9bd4c6f0a0d42b981e7d12213799a.zip mxe-a118ee0271f9bd4c6f0a0d42b981e7d12213799a.tar.gz mxe-a118ee0271f9bd4c6f0a0d42b981e7d12213799a.tar.bz2 |
osgearth: simplify patch + update configuration options
This makes https://github.com/gwaldron/osgearth/pull/1077 unnecessary
Diffstat (limited to 'src')
-rw-r--r-- | src/osgearth-1-fixes.patch | 19 | ||||
-rw-r--r-- | src/osgearth.mk | 3 |
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 |