mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-03 04:40:18 -05:00
7351d590ee
Shared library stubs can be used for linking, but not at runtime. Their role is similar to import libraries on Windows, so represent their location with the `IMPORTED_IMPLIB` target property. Fixes: #24940
3 lines
138 B
CMake
3 lines
138 B
CMake
add_library(SharedStubImportedGlobal SHARED IMPORTED GLOBAL)
|
|
set_target_properties(SharedStubImportedGlobal PROPERTIES IMPORTED_IMPLIB z)
|