Open zhangwenlong8911 opened 4 months ago
May also be an option to use https://cmake.org/cmake/help/latest/module/CheckLinkerFlag.html
This is an alternative solution to #639. Note that CMake variables are not usually named with a D prefix like C defines are. The Find modules written by Kitware are good examples.
May also be an option to use https://cmake.org/cmake/help/latest/module/CheckLinkerFlag.html