I have a third-party library that needs to be hooked up intpo cmake project. The library is built for a number of platforms, so in its folder, there are files:
- libName_x86.lib
- libName_x86.dll
- libname_x64.lib
- libName_x64.dll
- libName_android.x86.a
- libName_android.x86_64.a
- libName_macosx.a
- libName_mac.xcconfig
- libName_mac.Debug.xcconfig
- libName_mac.Release.xcconfig
and so on.
What would be the proper cmake way to determine name of the library in the find script?