Possible Issue with FindPackageHandleStandardArgs handler post Release 3.14.4
Hi Folks,
I am a contributor to a project that maintains a Windows Software Developers' Kit that allows a world-leading PD software WSJT-X to be compiled on Windows (i.e. https://physics.princeton.edu/pulsar/K1JT/wsjtx.html ).
The x64 Version 3.1 Software Developer's Kit - Packaged with CMAKE 3.14.4 can be found at: https://sourceforge.net/projects/jtsdk/files/win64/3.1.0/ . This base is somewhat unfinished, lacking key scripts to provide modes of operation similar to previous version kits.
V 0.4 "Alpha" version patches that support the soon-to-be-mainstream Qt 5.15.1 can be found at https://groups.io/g/JTSDK/topic/preview_version_0_4a_alpha/76299954?p=,,,20,0,0,0::recentpostdate%2Fsticky,,,20,2,0,76299954
If CMAKE 3.14.4 is used then the WSJT-X compiles PERFECTLY using patches (bleeding edge, current and past).
If more contemporary versions released after CMAKE 3.14.4 are used then complex additional instructions need to be used (i.e. https://groups.io/g/JTSDK/topic/upgrading_jtsdk_3_1_packages/76339523?p=,,,20,0,0,0::recentpostdate%2Fsticky,,,20,2,0,76339523 )
The issue seems to relate to more contemporary versions of CMAKE's FindPackageHandleStandardArgs handler not locating the DLL's needed for the FFTW3 Library (i.e. DLL's for C/C++ and Fortran).
I state that the issue is that all works fine until CMAKE is upgraded (i.e. to 3.18.2). Then additional variables need to be set. This indicates that some change in the handler's codebase has occurred that is requiring possibly unnecessary complication to be added to Makefiles and scripts that support makefiles.
Note that WSJT-X v2.2.2 as released is a giant ... not only with regards to codebase but also the examples that it sets for the WHOLE programming world.
I hope that the issue is made clear. I realise that there is complexity. Yet all evidence points to an issue with the FindPackageHandleStandardArgs handler.