include_directories(SYSTEM "${AvogadroLibs_SOURCE_DIR}/thirdparty/libgwavi"
  "${AvogadroLibs_SOURCE_DIR}/thirdparty/gif-h")

set(surfaces_srcs
  gaussiansetconcurrent.cpp
  slatersetconcurrent.cpp
  surfacedialog.cpp
  surfaces.cpp
)

avogadro_plugin(Surfaces
  "Surfaces"
  ExtensionPlugin
  surfaces.h
  Surfaces
  "${surfaces_srcs}"
  "surfacedialog.ui"
)

target_link_libraries(Surfaces
  LINK_PRIVATE AvogadroQuantumIO ${Qt5Concurrent_LIBRARIES})

include_directories(SYSTEM "${AvogadroLibs_SOURCE_DIR}/thirdparty/libgwavi"
  "${AvogadroLibs_SOURCE_DIR}/thirdparty/gif-h")

set(surfaces_srcs
  gaussiansetconcurrent.cpp
  slatersetconcurrent.cpp
  surfacedialog.cpp
  surfaces.cpp
)

avogadro_plugin(Surfaces
  "Surfaces"
  ExtensionPlugin
  surfaces.h
  Surfaces
  "${surfaces_srcs}"
  "surfacedialog.ui"
)

target_link_libraries(Surfaces
  LINK_PRIVATE
    AvogadroQuantumIO
    AvogadroQtOpenGL
    Qt5::Concurrent
    gwavi)

Add missing links to gwavi and AvogadroQtOpenGL
Add missing links to gwavi and AvogadroQtOpenGL

I also updated the link style for the Qt5 concurrent library.

Signed-off-by: Marcus D. Hanwell <cf7042e2e8eee958b5bcde1ae2cbefef82efc184@kitware.com>
