Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion export/cmake/CMakeLists.txt.export
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ project(Libint LANGUAGES CXX C)
# Set Libint version ===================================================================================================
set(LIBINT_MAJOR_VERSION 2)
set(LIBINT_MINOR_VERSION 8)
set(LIBINT_MICRO_VERSION 1)
set(LIBINT_MICRO_VERSION 1) # Sync this with python/CMakeLists.txt
set(LIBINT_BUILDID )
set(LIBINT_VERSION "${LIBINT_MAJOR_VERSION}.${LIBINT_MINOR_VERSION}.${LIBINT_MICRO_VERSION}")
if (LIBINT_BUILDID)
Expand Down
5 changes: 5 additions & 0 deletions python/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ else()
endif()
cmake_policy(SET CMP0079 NEW)

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

project(libint2-python)

if (NOT TARGET Python::Module)
Expand Down