gnucash unstable: Fix with_Python build in cmake.

John Ralls jralls at code.gnucash.org
Thu Nov 9 14:22:33 EST 2017


Updated	 via  https://github.com/Gnucash/gnucash/commit/f888eb88 (commit)
	from  https://github.com/Gnucash/gnucash/commit/f9d5436a (commit)



commit f888eb88f06fcddff555005f009008971d53541f
Author: John Ralls <jralls at ceridwen.us>
Date:   Thu Nov 9 11:22:02 2017 -0800

    Fix with_Python build in cmake.

diff --git a/bindings/python/CMakeLists.txt b/bindings/python/CMakeLists.txt
index 27a98b6..a5988ae 100644
--- a/bindings/python/CMakeLists.txt
+++ b/bindings/python/CMakeLists.txt
@@ -96,7 +96,7 @@ IF(WITH_PYTHON)
     DEPENDS ${SWIG_GNUCASH_CORE_C})
 
   ADD_CUSTOM_TARGET(gnucash-core-c-build ALL
-    COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_BINARY_DIR}/lib/gnucash/_gnucash_core_c${CMAKE_SHARED_LIBRARY_SUFFIX} ${PYTHON_SYSCONFIG_BUILD}/gnucash
+    COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_BINARY_DIR}/lib/gnucash/_gnucash_core_c${CMAKE_SHARED_MODULE_SUFFIX} ${PYTHON_SYSCONFIG_BUILD}/gnucash
     DEPENDS gnucash_core_c)
     
 ENDIF()



Summary of changes:
 bindings/python/CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)



More information about the gnucash-changes mailing list