Skip to content

Commit

Permalink
Merge pull request #1198 from yurivict/python_separate
Browse files Browse the repository at this point in the history
Make Python bindings build as a standalone project
  • Loading branch information
ghutchis authored Nov 27, 2022
2 parents c836068 + cbd3e34 commit 4d6fb4b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions python/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
cmake_minimum_required(VERSION 3.3 FATAL_ERROR)

if (NOT TARGET AvogadroCore)
find_package(AvogadroLibs REQUIRED)
endif()
find_package(PythonInterp 3 REQUIRED)
find_package(PythonLibs 3 REQUIRED)
set(PYBIND11_PYTHON_VERSION "3" CACHE STRING "")
Expand Down

1 comment on commit 4d6fb4b

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ERROR: clang-format-diff detected formatting issues. See the artifact for a patch or run clang-format on your branch.

Please sign in to comment.