gnucash stable: Fix Typo in previous commit, use Python3_INCLUDE_DIRS

Robert Fewell bobit at code.gnucash.org
Fri Aug 18 05:52:14 EDT 2023


Updated	 via  https://github.com/Gnucash/gnucash/commit/891e3936 (commit)
	from  https://github.com/Gnucash/gnucash/commit/29b7a909 (commit)



commit 891e39363d2d793ca676b8f8f3cf4086d1f5e419
Author: Robert Fewell <14uBobIT at gmail.com>
Date:   Fri Aug 18 10:51:12 2023 +0100

    Fix Typo in previous commit, use Python3_INCLUDE_DIRS

diff --git a/gnucash/python/CMakeLists.txt b/gnucash/python/CMakeLists.txt
index 28de0658a9..34fcd44dc3 100644
--- a/gnucash/python/CMakeLists.txt
+++ b/gnucash/python/CMakeLists.txt
@@ -17,7 +17,7 @@ if (WITH_PYTHON)
   target_link_libraries(gncmod-python gnc-module gnc-core-utils
    ${Python3_LIBRARIES})   # ${PYTHON_EXTRA_LIBS}
   target_include_directories(gncmod-python
-    PRIVATE ${CMAKE_SOURCE_DIR} ${CMAKE_SOURCE_DIR}/libgnucash/core-utils ${CMAKE_SOURCE_DIR}/gnc-module ${PYTHON_INCLUDE_DIR})
+    PRIVATE ${CMAKE_SOURCE_DIR} ${CMAKE_SOURCE_DIR}/libgnucash/core-utils ${CMAKE_SOURCE_DIR}/gnc-module ${Python3_INCLUDE_DIRS})
   target_compile_options(gncmod-python PRIVATE -DG_LOG_DOMAIN=\"gnc.python\")
 if (APPLE)
   set_target_properties (gncmod-python PROPERTIES INSTALL_NAME_DIR "${CMAKE_INSTALL_FULL_LIBDIR}/gnucash")



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



More information about the gnucash-changes mailing list