cmake: use "lib" prefixe only for Android.

This commit is contained in:
Andrey Akhmichin 2022-06-16 10:50:14 +05:00
parent ab38461c33
commit 1397f3ab4f
No known key found for this signature in database
GPG Key ID: 1F180D249B0643C0

View File

@ -204,7 +204,7 @@ endif()
set_target_properties (${CLDLL_LIBRARY} PROPERTIES
POSITION_INDEPENDENT_CODE 1)
if(APPLE OR WIN32 OR ${CMAKE_SYSTEM_NAME} STREQUAL "Linux")
if(NOT ${CMAKE_SYSTEM_NAME} STREQUAL "Android")
set(CLDLL_NAME "client")
set_target_properties(${CLDLL_LIBRARY} PROPERTIES
OUTPUT_NAME ${CLDLL_NAME}