[sword-svn] r3842 - in trunk: . cmake

greg.hellings at crosswire.org greg.hellings at crosswire.org
Tue Jan 5 10:51:51 EST 2021


Author: greg.hellings
Date: 2021-01-05 10:51:50 -0500 (Tue, 05 Jan 2021)
New Revision: 3842

Modified:
   trunk/CMakeLists.txt
   trunk/cmake/sources.cmake
Log:
Fix CMake builds

Remove reference to untargz.c
Remove extraneous comma that can cause syntax errors


Modified: trunk/CMakeLists.txt
===================================================================
--- trunk/CMakeLists.txt	2020-12-31 19:03:26 UTC (rev 3841)
+++ trunk/CMakeLists.txt	2021-01-05 15:51:50 UTC (rev 3842)
@@ -12,8 +12,9 @@
 # all posterity and eternity, wherever such transfer is possible.  Where it is
 # not, then this file is released under the GPLv2 by myself.
 
+CMAKE_POLICY(SET CMP0010 NEW)
 include(FindSubversion)
-Subversion_WC_INFO(${CMAKE_CURRENT_SOURCE_DIR} MYSVN, IGNORE_SVN_FAILURE)
+Subversion_WC_INFO(${CMAKE_CURRENT_SOURCE_DIR} MYSVN IGNORE_SVN_FAILURE)
 
 PROJECT(libsword CXX C)
 CMAKE_MINIMUM_REQUIRED(VERSION 2.6.0)

Modified: trunk/cmake/sources.cmake
===================================================================
--- trunk/cmake/sources.cmake	2020-12-31 19:03:26 UTC (rev 3841)
+++ trunk/cmake/sources.cmake	2021-01-05 15:51:50 UTC (rev 3842)
@@ -209,7 +209,6 @@
 # Sources relying on ZLib
 SET(sword_zlib_used_SOURCES
 	src/modules/common/zipcomprs.cpp
-	src/utilfuns/zlib/untgz.c
 )
 SET(sword_zlib_nofound_SOURCES
 	src/utilfuns/zlib/adler32.c



More information about the sword-cvs mailing list