Browse Source

Prevent attempt to strip import lib for static plugin

master
Martchus 2 months ago
parent
commit
3a52ae5e22
  1. 2
      cmake/modules/LibraryTarget.cmake

2
cmake/modules/LibraryTarget.cmake

@ -582,7 +582,7 @@ if (NOT META_NO_INSTALL_TARGETS AND ENABLE_INSTALL_TARGETS)
else ()
message(STATUS "Using strip binary under \"${STRIP_BINARY_PATH}\".")
endif ()
if (NOT META_HEADER_ONLY_LIB)
if (NOT META_HEADER_ONLY_LIB AND NOT META_IS_PLUGIN)
if (CMAKE_GENERATOR STREQUAL "Ninja")
set(DESTDIR "\$\$\{DESTDIR\}\$\$\{DESTDIR:+/\}")
else ()

Loading…
Cancel
Save