Changeset: 05b1c8b235ef for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=05b1c8b235ef
Modified Files:
cmake/monetdb-findpackages.cmake
sql/backends/monet5/UDF/pyapi3/CMakeLists.txt
Branch: mbedded
Log Message:
small fix for numpy/ pyintegration
diffs (24 lines):
diff --git a/cmake/monetdb-findpackages.cmake b/cmake/monetdb-findpackages.cmake
--- a/cmake/monetdb-findpackages.cmake
+++ b/cmake/monetdb-findpackages.cmake
@@ -28,6 +28,8 @@ else()
endif()
if(PY3INTEGRATION)
set(HAVE_LIBPY3 "${Python3_NumPy_FOUND}")
+else()
+ message(STATUS "Disable Py3integration, because required NumPy is missing")
endif(PY3INTEGRATION)
if(WIN32)
diff --git a/sql/backends/monet5/UDF/pyapi3/CMakeLists.txt
b/sql/backends/monet5/UDF/pyapi3/CMakeLists.txt
--- a/sql/backends/monet5/UDF/pyapi3/CMakeLists.txt
+++ b/sql/backends/monet5/UDF/pyapi3/CMakeLists.txt
@@ -6,7 +6,7 @@
# Copyright 1997 - July 2008 CWI, August 2008 - 2020 MonetDB B.V.
#]]
-if(PY3INTEGRATION)
+if(HAVE_LIBPY3)
add_library(pyapi3 MODULE)
target_sources(pyapi3
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list