Skip to content

Commit

Permalink
Fix building Qt Plugins without spglib (USE_SPGLIB=OFF)
Browse files Browse the repository at this point in the history
Signed-off-by: مهدي شينون (Mehdi Chinoune) <[email protected]>
  • Loading branch information
MehdiChinoune authored May 29, 2024
1 parent 22c9483 commit 6deffdf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion avogadro/qtplugins/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,9 @@ if(USE_VTK)
add_subdirectory(plotpdf)
add_subdirectory(plotrmsd)
add_subdirectory(plotxrd)
add_subdirectory(yaehmop)
if(USE_SPGLIB)
add_subdirectory(yaehmop)
endif()
endif()

# script plugins (input generators, etc.)
Expand Down

0 comments on commit 6deffdf

Please sign in to comment.