Do not append prefix to static lib automatically

This commit is contained in:
Max Risukhin 2018-10-15 16:50:18 +03:00 committed by Max Risuhin
parent 2e543ca41c
commit a1a766a7da
No known key found for this signature in database
GPG Key ID: BF733F5ACA0B4448

View File

@ -60,6 +60,7 @@ function(add_snore_plugin SNORE_NAME)
set_property( TARGET libsnore_${SNORE_TYPE_LOWERCASE}_${SNORE_NAME_LOWERCASE}
APPEND
PROPERTY COMPILE_DEFINITIONS QT_STATICPLUGIN)
set_target_properties(libsnore_${SNORE_TYPE_LOWERCASE}_${SNORE_NAME_LOWERCASE} PROPERTIES PREFIX "")
endif()
target_link_libraries(libsnore_${SNORE_TYPE_LOWERCASE}_${SNORE_NAME_LOWERCASE} Snore::Libsnore ${SNORE_LIBS})