Prevent attempt to strip import lib for static plugin
This commit is contained in:
parent
48c7906bf6
commit
3a52ae5e22
|
@ -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 ()
|
||||||
|
|
Loading…
Reference in New Issue