Browse Source

cmake: use "lib" prefixe only for Android.

hl_urbicide
Andrey Akhmichin 2 years ago
parent
commit
1397f3ab4f
No known key found for this signature in database
GPG Key ID: 1F180D249B0643C0
  1. 2
      cl_dll/CMakeLists.txt

2
cl_dll/CMakeLists.txt

@ -204,7 +204,7 @@ endif()
set_target_properties (${CLDLL_LIBRARY} PROPERTIES set_target_properties (${CLDLL_LIBRARY} PROPERTIES
POSITION_INDEPENDENT_CODE 1) 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(CLDLL_NAME "client")
set_target_properties(${CLDLL_LIBRARY} PROPERTIES set_target_properties(${CLDLL_LIBRARY} PROPERTIES
OUTPUT_NAME ${CLDLL_NAME} OUTPUT_NAME ${CLDLL_NAME}

Loading…
Cancel
Save