diff --git a/python/CMakeLists.txt b/python/CMakeLists.txt index 144d10ddde..fa1daa6dd3 100644 --- a/python/CMakeLists.txt +++ b/python/CMakeLists.txt @@ -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 "")