mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-25 04:09:36 +03:00
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)
|