Skip to content

Commit 271e481

Browse files
authored
Merge pull request #319 from loriab/loriab-patch-2
fix CI for setuptools=69
2 parents 4482d01 + 3341dab commit 271e481

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

export/cmake/CMakeLists.txt.export

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ project(Libint LANGUAGES CXX C)
88
# Set Libint version ===================================================================================================
99
set(LIBINT_MAJOR_VERSION 2)
1010
set(LIBINT_MINOR_VERSION 8)
11-
set(LIBINT_MICRO_VERSION 1)
11+
set(LIBINT_MICRO_VERSION 1) # Sync this with python/CMakeLists.txt
1212
set(LIBINT_BUILDID )
1313
set(LIBINT_VERSION "${LIBINT_MAJOR_VERSION}.${LIBINT_MINOR_VERSION}.${LIBINT_MICRO_VERSION}")
1414
if (LIBINT_BUILDID)

python/CMakeLists.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ else()
55
endif()
66
cmake_policy(SET CMP0079 NEW)
77

8+
if(NOT DEFINED LIBINT_VERSION)
9+
# for indep bld of project(libint2-python), version not available from project(Libint2)
10+
set(LIBINT_VERSION "2.8.1") # for version for setup.py from libtool+cmake
11+
endif()
12+
813
project(libint2-python)
914

1015
if (NOT TARGET Python::Module)

0 commit comments

Comments
 (0)