Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
windows:mingw:win64
mingw64-python3
0006-Install-cmake-files-in-lib-cmake-python-ma...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0006-Install-cmake-files-in-lib-cmake-python-majorminor.patch of Package mingw64-python3
From 5f39070be699b930b052b1a518e49c0da1d07d21 Mon Sep 17 00:00:00 2001 From: Ralf Habacker <ralf.habacker@freenet.de> Date: Tue, 30 Aug 2022 15:25:59 +0200 Subject: [PATCH 06/12] Install cmake files in lib/cmake/python<majorminor> --- CMakeLists.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 305281d..3e88468 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -446,7 +446,11 @@ if(INSTALL_WINDOWS_TRADITIONAL) set(BIN_INSTALL_DIR .) # Contains the python executable endif() set(LD_VERSION ${LIBPYTHON_VERSION}${ABIFLAGS}) -set(CONFIG_INSTALL_DIR share/${LIBPYTHON}) +if(MINGW) + set(CONFIG_INSTALL_DIR lib/cmake/${LIBPYTHON}) +else() + set(CONFIG_INSTALL_DIR share/${LIBPYTHON}) +endif() set(EXTENSION_INSTALL_DIR ${PYTHONHOME}/lib-dynload) if (${LIBPYTHON_VERSION} GREATER 3.1) -- 2.35.3
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor