Commit c5adadec authored by Laurent Montel's avatar Laurent Montel
Browse files

Exclude AvogadroLibs as it(s not ported to Qt6 yet

parent 2d32c5c8
Pipeline #224149 passed with stage
in 5 minutes and 20 seconds
......@@ -41,7 +41,9 @@ find_package(OpenBabel3 3.1)
if(NOT ${OpenBabel3_FOUND})
find_package(OpenBabel2)
endif()
if (QT_MAJOR_VERSION STREQUAL "6")
find_package(AvogadroLibs)
endif()
find_package(Eigen3 CONFIG)
find_package(OCaml)
find_package(Libfacile)
......@@ -57,7 +59,11 @@ if(HAVE_OPENBABEL2 OR HAVE_OPENBABEL3)
set(HAVE_OPENBABEL 1)
endif()
set(HAVE_EIGEN ${EIGEN3_FOUND})
set(HAVE_AVOGADRO ${AvogadroLibs_FOUND})
if (QT_MAJOR_VERSION STREQUAL "6")
set(HAVE_AVOGADRO false)
else()
set(HAVE_AVOGADRO ${AvogadroLibs_FOUND})
endif()
if(HAVE_OPENBABEL3)
set(OPENBABEL_INCLUDE_DIR ${OpenBabel3_INCLUDE_DIRS})
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment