maeparser, revbump, move headers to the right destination (#13832)

This commit is contained in:
Schrijvers Luc
2026-03-16 13:21:47 +01:00
committed by GitHub
parent f527398179
commit 281f84c30c
2 changed files with 34 additions and 2 deletions

View File

@@ -7,10 +7,11 @@ Maestro output needs to interact directly with this format."
HOMEPAGE="https://github.com/schrodinger/maeparser"
COPYRIGHT="2017 Schrödinger, LLC"
LICENSE="MIT"
REVISION="1"
REVISION="2"
SOURCE_URI="$HOMEPAGE/archive/v$portVersion.tar.gz"
SOURCE_FILENAME="maeparser-$portVersion.tar.gz"
CHECKSUM_SHA256="78e7571a779ea4952e752ecef57c62fb26463947e29ef7f4b31b11988d88ca07"
PATCHES="maeparser-$portVersion.patchset"
ARCHITECTURES="all !x86_gcc2"
SECONDARY_ARCHITECTURES="x86"
@@ -18,7 +19,7 @@ SECONDARY_ARCHITECTURES="x86"
libVersion="$portVersion"
libVersionCompat="$libVersion compat >= ${libVersion%%.*}"
boostVersion="1.88.0"
boostVersion="1.90.0"
PROVIDES="
maeparser$secondaryArchSuffix = $portVersion

View File

@@ -0,0 +1,31 @@
From bf5c18cc761d0ebcf8e57d1974797db2864a06ed Mon Sep 17 00:00:00 2001
From: Luc Schrijvers <begasus@gmail.com>
Date: Mon, 16 Mar 2026 12:50:20 +0100
Subject: Fix headers path (install + config)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index a0ea783..b03f526 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -65,7 +65,7 @@ SET_TARGET_PROPERTIES (maeparser
target_include_directories(maeparser PUBLIC
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>
- $<INSTALL_INTERFACE:include>)
+ $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>)
if(MSVC)
set(CMAKE_INSTALL_LIBDIR lib)
@@ -85,7 +85,7 @@ INSTALL(EXPORT maeparser-targets
DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake)
file(GLOB mae_headers "*.hpp")
-install(FILES ${mae_headers} DESTINATION include/maeparser)
+install(FILES ${mae_headers} DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/maeparser)
# Tests
if (MAEPARSER_BUILD_TESTS)
--
2.52.0