[geos-commits] [SCM] GEOS branch 3.8 updated. fe6d9701a5923bdb23607a71997a884b99767b2d
git at osgeo.org
git at osgeo.org
Sun Dec 15 18:08:37 PST 2019
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GEOS".
The branch, 3.8 has been updated
via fe6d9701a5923bdb23607a71997a884b99767b2d (commit)
from 317ad362ca5d5b25dc615f97162121043802eb53 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit fe6d9701a5923bdb23607a71997a884b99767b2d
Author: Pierre Gergondet <pierre.gergondet at gmail.com>
Date: Fri Dec 13 15:43:22 2019 +0800
Install inl files if DISABLE_GEOS_INLINE is OFF
diff --git a/CMakeLists.txt b/CMakeLists.txt
index c893fea..b78ca54 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -309,6 +309,13 @@ install(DIRECTORY
"${CMAKE_CURRENT_BINARY_DIR}/include/geos"
DESTINATION include
FILES_MATCHING PATTERN "*.h")
+if(NOT DISABLE_GEOS_INLINE)
+ install(DIRECTORY
+ "${CMAKE_CURRENT_LIST_DIR}/include/geos"
+ "${CMAKE_CURRENT_BINARY_DIR}/include/geos"
+ DESTINATION include
+ FILES_MATCHING PATTERN "*.inl")
+endif()
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/capi/geos_c.h"
DESTINATION include)
diff --git a/include/CMakeLists.txt b/include/CMakeLists.txt
index df8cd4d..0456baa 100644
--- a/include/CMakeLists.txt
+++ b/include/CMakeLists.txt
@@ -8,7 +8,11 @@
# by the Free Software Foundation.
# See the COPYING file for more information.
################################################################################
-file(GLOB_RECURSE _headers ${CMAKE_CURRENT_LIST_DIR}/*.h CONFIGURE_DEPEND)
+if(DISABLE_GEOS_INLINE)
+ file(GLOB_RECURSE _headers ${CMAKE_CURRENT_LIST_DIR}/*.h CONFIGURE_DEPEND)
+else()
+ file(GLOB_RECURSE _headers ${CMAKE_CURRENT_LIST_DIR}/*.h ${CMAKE_CURRENT_LIST_DIR}/*.inl CONFIGURE_DEPEND)
+endif()
target_sources(geos PRIVATE ${_headers})
unset(_headers)
-----------------------------------------------------------------------
Summary of changes:
CMakeLists.txt | 7 +++++++
include/CMakeLists.txt | 6 +++++-
2 files changed, 12 insertions(+), 1 deletion(-)
hooks/post-receive
--
GEOS
More information about the geos-commits
mailing list