[geos-commits] [SCM] GEOS branch 3.8 updated. ccb2f0fb0a92c42a0a9f44bbb83703fd7f08ebd7

git at osgeo.org git at osgeo.org
Tue Apr 11 10:05:47 PDT 2023


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  ccb2f0fb0a92c42a0a9f44bbb83703fd7f08ebd7 (commit)
      from  8d141f24d52bc44493f25061e7eea07d5f675138 (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 ccb2f0fb0a92c42a0a9f44bbb83703fd7f08ebd7
Author: Mike Taves <mwtoews at gmail.com>
Date:   Sat Nov 30 20:39:26 2019 +1300

    Fix CMake build without tests
    
    Fixes #1006

diff --git a/.gitignore b/.gitignore
index 000a5ac86..8f6a95f63 100644
--- a/.gitignore
+++ b/.gitignore
@@ -74,4 +74,5 @@ authors.git
 !/docker/**/Makefile
 /.vs*
 .idea/
+.project
 out/
diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt
index 93653818b..77c93ed6d 100644
--- a/doc/CMakeLists.txt
+++ b/doc/CMakeLists.txt
@@ -13,9 +13,11 @@
 add_executable(example example.cpp)
 
 target_link_libraries(example PRIVATE geos)
-target_include_directories(test_geos_unit
+if(BUILD_TESTING)
+    target_include_directories(test_geos_unit
         PRIVATE
         $<BUILD_INTERFACE:${CMAKE_CURRENT_LIST_DIR}>)
+endif()
 
 option(BUILD_DOCUMENTATION "Build Doxygen documentation" OFF)
 

-----------------------------------------------------------------------

Summary of changes:
 .gitignore         | 1 +
 doc/CMakeLists.txt | 4 +++-
 2 files changed, 4 insertions(+), 1 deletion(-)


hooks/post-receive
-- 
GEOS


More information about the geos-commits mailing list