Fix clFFT build without GMX_LOAD_PLUGINS
authorRoland Schulz <roland.schulz@intel.com>
Tue, 23 Jun 2020 21:53:29 +0000 (14:53 -0700)
committerPaul Bauer <paul.bauer.q@gmail.com>
Wed, 24 Jun 2020 06:01:06 +0000 (06:01 +0000)
commit9ce9d140340c313a0cbefaa1c3132134cf55989a
treebefb1bfd722b2a4c517b7ee19678b22f792c3e11
parent67991b6a6e7a0baaa43e4c92023b2cf55fecfe33
Fix clFFT build without GMX_LOAD_PLUGINS

It only happened to work before 649af69b44d503 because
GMX_LOAD_PLUGINS was on by default and it added the
required dl library.
Also fixes that we reuse the same code for checking for
dlopen.
cmake/gmxManagePluginSupport.cmake
cmake/gmxTestdlopen.cmake
src/external/clFFT/src/CMakeLists.txt