mirror of https://github.com/mamba-org/mamba.git
Build fixes (#1261)
* wheel is not universal * use modern way of finding Python * set policy needed for pybind 11, and up cmake required version
This commit is contained in:
parent
fa765e8e97
commit
1439f321c5
|
@ -4,10 +4,8 @@
|
|||
#
|
||||
# The full license is in the file LICENSE, distributed with this software.
|
||||
|
||||
cmake_minimum_required (VERSION 3.2)
|
||||
if(POLICY CMP0025)
|
||||
cmake_policy(SET CMP0025 NEW)
|
||||
endif()
|
||||
cmake_minimum_required(VERSION 3.18.2)
|
||||
cmake_policy(SET CMP0025 NEW)
|
||||
cmake_policy(SET CMP0077 NEW)
|
||||
|
||||
project(libmamba)
|
||||
|
|
|
@ -3,15 +3,15 @@
|
|||
# Distributed under the terms of the BSD 3-Clause License.
|
||||
#
|
||||
# The full license is in the file LICENSE, distributed with this software.
|
||||
cmake_minimum_required(VERSION 3.18.2)
|
||||
|
||||
cmake_minimum_required (VERSION 3.2)
|
||||
if(POLICY CMP0025)
|
||||
cmake_policy(SET CMP0025 NEW)
|
||||
endif()
|
||||
cmake_policy(SET CMP0025 NEW)
|
||||
cmake_policy(SET CMP0077 NEW)
|
||||
cmake_policy(SET CMP0057 NEW)
|
||||
|
||||
project(libmambapy)
|
||||
|
||||
find_package(Python COMPONENTS Interpreter Development)
|
||||
find_package(pybind11 REQUIRED)
|
||||
if(NOT TARGET libmamba)
|
||||
find_package(libmamba REQUIRED)
|
||||
|
|
|
@ -11,9 +11,6 @@ url = https://github.com/mamba-org/mamba
|
|||
platforms = Windows, Linux, Mac OS X
|
||||
keywords = mamba, libmamba, conda
|
||||
|
||||
[bdist_wheel]
|
||||
universal = 1
|
||||
|
||||
[options]
|
||||
include_package_data = True
|
||||
packages = find:
|
||||
|
|
Loading…
Reference in New Issue