Skip to content

Identify DLL platforms via CMAKE_IMPORT_LIBRARY_SUFFIX

Stephan Szabo requested to merge szabos1/cmake:update-dllplatform into master

Use CMAKE_IMPORT_LIBRARY_SUFFIX rather than checking windows to determine DLLPlatform (has import library) status.

This changes the definition of DLLPlatform per the initial description of #16801 (closed) to what was discussed there (using CMAKE_IMPORT_LIBRARY_SUFFIX) without touching the later discussion of CMAKE_PLATFORM_HAS_SONAME.

Fixes: #16801 (closed)

Edited by Brad King

Merge request reports