Prevent attempt to strip import lib for static plugin

This commit is contained in:
Martchus 2021-09-16 01:05:41 +02:00
parent 48c7906bf6
commit 3a52ae5e22
1 changed files with 1 additions and 1 deletions

View File

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