You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datasketches.apache.org by jm...@apache.org on 2022/05/03 23:24:37 UTC
[datasketches-cpp] branch fix_wheels updated: tell pybind to use newer python-finding approach
This is an automated email from the ASF dual-hosted git repository.
jmalkin pushed a commit to branch fix_wheels
in repository https://gitbox.apache.org/repos/asf/datasketches-cpp.git
The following commit(s) were added to refs/heads/fix_wheels by this push:
new b72e156 tell pybind to use newer python-finding approach
b72e156 is described below
commit b72e156112761e0752db47a1bcd777f1ccb5fa7a
Author: Jon Malkin <jm...@users.noreply.github.com>
AuthorDate: Tue May 3 16:24:29 2022 -0700
tell pybind to use newer python-finding approach
---
python/CMakeLists.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/python/CMakeLists.txt b/python/CMakeLists.txt
index 6003ee4..df035cb 100644
--- a/python/CMakeLists.txt
+++ b/python/CMakeLists.txt
@@ -24,6 +24,7 @@ if (MSVC)
set(CMAKE_PREFIX_PATH ${CMAKE_PREFIX_PATH} ${EXTRA_PACKAGE_PATH})
endif()
+set(PYBIND11_FINDPYTHON ON)
find_package(pybind11 CONFIG REQUIRED)
pybind11_add_module(python MODULE EXCLUDE_FROM_ALL THIN_LTO)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datasketches.apache.org
For additional commands, e-mail: commits-help@datasketches.apache.org